Commit b2019c92 authored by Ilkka Ollakka's avatar Ilkka Ollakka

m3u.c: don't free and write

parent 222b887f
...@@ -87,7 +87,6 @@ static void DoChildren( playlist_t *p_playlist, playlist_export_t *p_export, ...@@ -87,7 +87,6 @@ static void DoChildren( playlist_t *p_playlist, playlist_export_t *p_export,
} }
free( psz_artist ); free( psz_artist );
} }
free( psz_uri );
free( psz_name ); free( psz_name );
/* VLC specific options */ /* VLC specific options */
...@@ -102,6 +101,7 @@ static void DoChildren( playlist_t *p_playlist, playlist_export_t *p_export, ...@@ -102,6 +101,7 @@ static void DoChildren( playlist_t *p_playlist, playlist_export_t *p_export,
vlc_mutex_unlock( &p_current->p_input->lock ); vlc_mutex_unlock( &p_current->p_input->lock );
fprintf( p_export->p_file, "%s\n", psz_uri ); fprintf( p_export->p_file, "%s\n", psz_uri );
free( psz_uri );
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment