Fix double free
authorRafaël Carré <funman@videolan.org>
Fri, 9 May 2008 22:11:57 +0000 (00:11 +0200)
committerRafaël Carré <funman@videolan.org>
Fri, 9 May 2008 22:13:32 +0000 (00:13 +0200)
modules/demux/playlist/m3u.c

index 40b862a..46fb85f 100644 (file)
@@ -187,7 +187,6 @@ static int Demux( demux_t *p_demux )
 
             if ( psz_artist && *psz_artist )
                 input_item_SetArtist( p_input, psz_artist );
-            free( psz_artist );
 
             input_ItemAddSubItem( p_current_input, p_input );
             for( unsigned i = 0; i < i_options; i++ )