[FFmpeg-cvslog] Fix memleak

Etienne Buira git at videolan.org
Fri May 27 05:42:17 CEST 2011


ffmpeg | branch: master | Etienne Buira <etienne.buira.lists at free.fr> | Thu May 26 21:02:50 2011 +0200| [5e0dafe8caa9ba1e87dfc51aa25ebb9fea61ed42] | committer: Michael Niedermayer

Fix memleak

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5e0dafe8caa9ba1e87dfc51aa25ebb9fea61ed42
---

 libavcodec/libx264.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index a45789d..b0cca65 100644
--- a/libavcodec/libx264.c
+++ b/libavcodec/libx264.c
@@ -176,6 +176,7 @@ static av_cold int X264_close(AVCodecContext *avctx)
     av_free(x4->level);
     av_free(x4->stats);
     av_free(x4->weightp);
+    av_free(x4->x264opts);
 
     return 0;
 }



More information about the ffmpeg-cvslog mailing list