avcodec/movtextdec: Call mov_text_cleanup() on close
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 4 Mar 2017 18:19:31 +0000 (19:19 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 6 Mar 2017 15:47:17 +0000 (16:47 +0100)
commita9f9b7f5c70e80245983e67b8ed23212d9637645
tree65142aeacc2d69df1862315cd68c0a00cbe2d2e9
parentef86488696a84ae98028e4e199d51b10e331399d
avcodec/movtextdec: Call mov_text_cleanup() on close

Fixes memleak
Fixes: 548/clusterfuzz-testcase-5511470875934720

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