mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-13 18:55:08 +00:00
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>
This commit is contained in:
parent
ef86488696
commit
a9f9b7f5c7
@ -521,6 +521,7 @@ static int mov_text_decode_close(AVCodecContext *avctx)
|
||||
{
|
||||
MovTextContext *m = avctx->priv_data;
|
||||
mov_text_cleanup_ftab(m);
|
||||
mov_text_cleanup(m);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user