[FFmpeg-cvslog] r15612 - trunk/libavcodec/libx264.c

benoit subversion
Mon Oct 13 15:47:05 CEST 2008


Author: benoit
Date: Mon Oct 13 15:47:05 2008
New Revision: 15612

Log:
Fix mem leak.
Patch by Ralf Terdic contact >AT< jswiff com


Modified:
   trunk/libavcodec/libx264.c

Modified: trunk/libavcodec/libx264.c
==============================================================================
--- trunk/libavcodec/libx264.c	(original)
+++ trunk/libavcodec/libx264.c	Mon Oct 13 15:47:05 2008
@@ -124,6 +124,8 @@ X264_close(AVCodecContext *avctx)
 {
     X264Context *x4 = avctx->priv_data;
 
+    av_freep(&avctx->extradata);
+
     if(x4->enc)
         x264_encoder_close(x4->enc);
 




More information about the ffmpeg-cvslog mailing list