]> git.sesse.net Git - vlc/commitdiff
Fix memleak
authorChristophe Mutricy <xtophe@videolan.org>
Sat, 22 Nov 2008 16:17:23 +0000 (16:17 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Sat, 22 Nov 2008 16:17:23 +0000 (16:17 +0000)
Closes #2307

modules/control/rc.c

index 92f720205b0173c2ca3455f16f180f8e43cfacfe..3b8df65f055eab838d7ae0c2fe3292dc917e493a 100644 (file)
@@ -1778,6 +1778,7 @@ static int VideoConfig( vlc_object_t *p_this, char const *psz_cmd,
                          VLC_VAR_GETLIST, &val, &text ) < 0 )
         {
             vlc_object_release( p_vout );
+            free( psz_value );
             return VLC_EGENERIC;
         }