From 9b5249a441a3581929329e8af1b63e20dc98c3d2 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 11 Jul 2019 22:31:57 +0200 Subject: [PATCH] tools/target_dec_fuzzer: Remove redundant av_free() Signed-off-by: Michael Niedermayer --- tools/target_dec_fuzzer.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c index f456db0e7b..e3ae3fd0ab 100644 --- a/tools/target_dec_fuzzer.c +++ b/tools/target_dec_fuzzer.c @@ -281,9 +281,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { av_frame_free(&frame); avcodec_free_context(&ctx); - av_freep(&ctx); avcodec_free_context(&parser_avctx); - av_freep(&parser_avctx); av_parser_close(parser); FDBDesroy(&buffer); return 0;