You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02: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:
@@ -521,6 +521,7 @@ static int mov_text_decode_close(AVCodecContext *avctx)
|
|||||||
{
|
{
|
||||||
MovTextContext *m = avctx->priv_data;
|
MovTextContext *m = avctx->priv_data;
|
||||||
mov_text_cleanup_ftab(m);
|
mov_text_cleanup_ftab(m);
|
||||||
|
mov_text_cleanup(m);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user