Commit 1fd0844e authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

oldrc: fix leak

parent 82fa2d67
......@@ -1128,7 +1128,10 @@ static int Input( vlc_object_t *p_this, char const *psz_cmd,
if ( var_Change( p_input, psz_variable,
VLC_VAR_GETCHOICES, &val, &text ) < 0 )
{
free( name );
goto out;
}
msg_rc( "+----[ %s ]", val_name.psz_string );
for ( int i = 0; i < val.i_count; i++ )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment