avformat/mpc: deallocate frames array on errors
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 24 Jul 2019 21:11:50 +0000 (23:11 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 31 Jul 2019 18:35:07 +0000 (20:35 +0200)
commitda5039415c2bd625085d15e6c92e0b64eefddcbf
treee29eeb36b9a4fb10ebe8d75281ed00b725f0e7a0
parenta0c19707811cb5b4e6df089317dda65dd6a0240b
avformat/mpc: deallocate frames array on errors

Fixes: memleak on error path
Fixes: 15984/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5679918412726272

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