commit | 3e2259e2dc514c25e53b03a8efb2d5b31b4a660b | [log] [tgz] |
---|---|---|
author | Radek Krejci <rkrejci@cesnet.cz> | Thu May 30 15:49:37 2019 +0200 |
committer | Radek Krejci <rkrejci@cesnet.cz> | Thu May 30 15:49:37 2019 +0200 |
tree | b7cedb3c3022e36b49e791ab8be3ccda22887dc6 | |
parent | e88beef6fbbcecec2473f428a1d14c879e2f90d7 [diff] |
data BUGFIX double free
diff --git a/src/plugins_types.c b/src/plugins_types.c index 3ce45d7..ae1d7a6 100644 --- a/src/plugins_types.c +++ b/src/plugins_types.c
@@ -876,7 +876,6 @@ if (options & LY_TYPE_OPTS_CANONIZE) { if (options & LY_TYPE_OPTS_DYNAMIC) { *canonized = lydict_insert_zc(ctx, (char*)value); - free((char*)value); } else { *canonized = lydict_insert(ctx, value_len ? value : "", value_len); }