diff --git a/libavcodec/movtextdec.c b/libavcodec/movtextdec.c index 81fd1d6deb..6de15004fc 100644 --- a/libavcodec/movtextdec.c +++ b/libavcodec/movtextdec.c @@ -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; }