fix mem leak
authorOliver Pfister <oliver.pfister@gmx.ch>
Thu, 5 Jul 2007 20:47:58 +0000 (20:47 +0000)
committerBenoit Fouet <benoit.fouet@free.fr>
Thu, 5 Jul 2007 20:47:58 +0000 (20:47 +0000)
patch by Oliver Pfister: [oliver pfister gmx ch]

Originally committed as revision 9491 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/ffv1.c

index 4a8d80b..0131b83 100644 (file)
@@ -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;