hotkeys: remove tautology test

This commit is contained in:
Rémi Denis-Courmont 2018-06-10 12:04:40 +03:00
parent 93b9545fe0
commit d5e48f174c
1 changed files with 3 additions and 6 deletions

View File

@ -119,12 +119,9 @@ static void var_FreeList( vlc_list_t values, char **texts )
free( values.p_values );
if( texts != NULL )
{
for( int i = 0; i < values.i_count; i++ )
free( texts[i] );
free( texts );
}
for( int i = 0; i < values.i_count; i++ )
free( texts[i] );
free( texts );
}
static int MovedEvent( vlc_object_t *p_this, char const *psz_var,