]> git.sesse.net Git - vlc/blobdiff - modules/demux/playlist/m3u.c
Remove useless test before a free (again).
[vlc] / modules / demux / playlist / m3u.c
index 90f8adafcfeeead84996626ee8779c703a4da775..263f97d0021869b0981fda18e00124ca1b03a951 100644 (file)
@@ -212,11 +212,11 @@ static int Demux( demux_t *p_demux )
         {
             /* Cleanup state */
             while( i_options-- ) free( (char*)ppsz_options[i_options] );
-            if( ppsz_options ) free( ppsz_options );
+            free( ppsz_options );
             ppsz_options = NULL; i_options = 0;
-            if( psz_name ) free( psz_name );
+            free( psz_name );
             psz_name = NULL;
-            if ( psz_artist ) free( psz_artist );
+            free( psz_artist );
             psz_artist = NULL;
             i_parsed_duration = 0;
             i_duration = -1;