tools/target_dec_fuzzer: Free parser in case of avcodec_open2() failure
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 7 Jul 2019 20:50:42 +0000 (22:50 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 21 Jul 2019 10:33:35 +0000 (12:33 +0200)
commit508ce5839e0bf78ce8813eb1b38cce0d416a408e
tree96b090d00edee20daaa47560f0aa57dc2bb91704
parent99f95f39c6978f0d91e42b3bced126a98173dbef
tools/target_dec_fuzzer: Free parser in case of avcodec_open2() failure

Fixes: memleak
Fixes: part of 15529/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_LIBVPX_VP8_fuzzer-5140143700180992

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tools/target_dec_fuzzer.c