avformat/takdec: Free buffer on error pathes
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 2 Jul 2019 18:35:30 +0000 (20:35 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 17 Jul 2019 21:18:50 +0000 (23:18 +0200)
commitfff2bdc8b835158773a8360fc2d50a10ca0d38af
tree0b51981333a10da3ba7322f34c42692d3dfb719a
parenta7e02cf3ad6f6eaae07fa68ecb93014e1dfd224e
avformat/takdec: Free buffer on error pathes

Fixes: memleak
Fixes: 15446/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5662875831500800

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