commit | 67a7b3348168946dd1db55558520306e8b7203b5 | [log] [tgz] |
---|---|---|
author | aPiecek <piecek@cesnet.cz> | Fri May 07 15:00:11 2021 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Fri May 07 15:15:07 2021 +0200 |
tree | 7ff4b1a4c02b9757d1247768de936736ca797b7c | |
parent | 4bb1e37df763f0e6da9a8dc277a16cca649cf9ac [diff] [blame] |
fuzz BUGFIX added data tree release
diff --git a/tests/fuzz/lyd_parse_mem_json.c b/tests/fuzz/lyd_parse_mem_json.c index 912dce6..c102f72 100644 --- a/tests/fuzz/lyd_parse_mem_json.c +++ b/tests/fuzz/lyd_parse_mem_json.c
@@ -75,6 +75,7 @@ data[len] = 0; lyd_parse_data_mem(ctx, data, LYD_JSON, 0, LYD_VALIDATE_PRESENT, &tree); + lyd_free_all(tree); ly_ctx_destroy(ctx); free(data);