[FFmpeg-cvslog] r25595 - trunk/libavcodec/ffv1.c

michael subversion
Thu Oct 28 14:15:51 CEST 2010


Author: michael
Date: Thu Oct 28 14:15:50 2010
New Revision: 25595

Log:
Fix 10l leak in ffv1.

Modified:
   trunk/libavcodec/ffv1.c

Modified: trunk/libavcodec/ffv1.c
==============================================================================
--- trunk/libavcodec/ffv1.c	Thu Oct 28 14:15:47 2010	(r25594)
+++ trunk/libavcodec/ffv1.c	Thu Oct 28 14:15:50 2010	(r25595)
@@ -1295,6 +1295,10 @@ static av_cold int common_end(AVCodecCon
         av_freep(&s->rc_stat2[j]);
     }
 
+    for(i=0; i<s->slice_count; i++){
+        av_freep(&s->slice_context[i]);
+    }
+
     return 0;
 }
 



More information about the ffmpeg-cvslog mailing list