Fix memleak
authorEtienne Buira <etienne.buira.lists@free.fr>
Thu, 26 May 2011 19:02:50 +0000 (21:02 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 27 May 2011 02:37:33 +0000 (04:37 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/libx264.c

index a45789d..b0cca65 100644 (file)
@@ -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;
 }