avformat/4xm: Cleanup on GET_LIST_HEADER() failure
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 7 Jun 2020 19:35:43 +0000 (21:35 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 8 Jun 2020 10:27:18 +0000 (12:27 +0200)
commita5313ce6542a4ee4112acd260e59bff698f3dddd
tree2835f30169743d70cb6d1302fcaad18160739567
parentb7e18212841ffd698f8f1ef73713209d160d701e
avformat/4xm: Cleanup on GET_LIST_HEADER() failure

Fixes: memleak
Fixes: 23142/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5932860820422656

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/4xm.c