diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c index 4a8d80b672..0131b837cf 100644 --- a/libavcodec/ffv1.c +++ b/libavcodec/ffv1.c @@ -702,6 +702,7 @@ static int common_end(AVCodecContext *avctx){ PlaneContext *p= &s->plane[i]; av_freep(&p->state); + av_freep(&p->vlc_state); } return 0;