Skip to content
Snippets Groups Projects
Commit 1fd0844e authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

oldrc: fix leak

parent 82fa2d67
No related branches found
No related tags found
No related merge requests found
......@@ -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++ )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment