Commit 6dd5c5cb authored by Rémi Duraffort's avatar Rémi Duraffort

Fix memleaks.

parent a17ea14f
......@@ -268,6 +268,7 @@ static int Open( vlc_object_t *p_this )
{
p_intf->p_sys->p_rrd = utf8_fopen( psz_rrd_file, "w" );
}
free( psz_rrd_file );
p_intf->p_sys->p_sub = msg_Subscribe( p_intf );
p_intf->pf_run = Run;
......
......@@ -77,8 +77,8 @@ int xspf_export_playlist( vlc_object_t *p_this )
if( psz_temp && *psz_temp )
{
fprintf( p_export->p_file, "\t<location>%s</location>\n", psz_temp );
free( psz_temp );
}
free( psz_temp );
/* export all items in a flat format */
fprintf( p_export->p_file, "\t<trackList>\n" );
......
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