[vlc-devel] commit: x264.c: don't leak on getString (Ilkka Ollakka )

git version control git at videolan.org
Tue Oct 20 12:05:24 CEST 2009


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Tue Oct 20 13:05:15 2009 +0300| [75b5621455ba59dec26673630f11cabbe70da522] | committer: Ilkka Ollakka 

x264.c: don't leak on getString

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=75b5621455ba59dec26673630f11cabbe70da522
---

 modules/codec/x264.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/codec/x264.c b/modules/codec/x264.c
index 9fb9618..eefec11 100644
--- a/modules/codec/x264.c
+++ b/modules/codec/x264.c
@@ -841,6 +841,7 @@ static int  Open ( vlc_object_t *p_this )
     {
        p_sys->param.i_bframe_pyramid = X264_B_PYRAMID_NORMAL;
     }
+    free( psz_val );
 #else
     p_sys->param.b_bframe_pyramid = var_GetBool( p_enc, SOUT_CFG_PREFIX "bpyramid" );
  #endif




More information about the vlc-devel mailing list