Signed-off-by: Rafaël Carré <funman@videolan.org>
free( psz_uri );
psz_uri = psz_tmp;
}
- /* FIXME: We are leaking that one */
p_new_input = input_ItemNewExt( p_playlist, psz_uri,
NULL, 0, NULL, -1 );
free( psz_uri );
{
input_ItemAddSubItem( p_input_item, p_new_input );
p_input_item = p_new_input;
+ vlc_gc_decref( p_new_input );
}
free( psz_title );
}
if( p_new_input )
{
input_ItemAddSubItem( p_input_item, p_new_input );
+ vlc_gc_decref( p_new_input );
p_demux->p_sys->pp_tracklist[i_href] = NULL;
}