X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Faudio_output%2Ffile.c;h=c21300609d399f74adb88699b3b8a1cccddf904a;hb=eb6f43ef97be034b2ea3b71b56263cf9f487b6ce;hp=f6e281367e97122e4f391e6981cc7c56379bc43f;hpb=6339478fe9c686d0c527a785fb6c66efe0f17e85;p=vlc diff --git a/modules/audio_output/file.c b/modules/audio_output/file.c index f6e281367e..c21300609d 100644 --- a/modules/audio_output/file.c +++ b/modules/audio_output/file.c @@ -146,7 +146,7 @@ static int Open( vlc_object_t * p_this ) if( !psz_name || !*psz_name ) { msg_Err( p_aout, "you need to specify an output file name" ); - if( psz_name ) free( psz_name ); + free( psz_name ); return VLC_EGENERIC; }