Commit a868b9e5 authored by Hannes Domani's avatar Hannes Domani Committed by Tristan Matthews

playlist: fetcher: fix memory leaks

Signed-off-by: 's avatarTristan Matthews <le.businessman@gmail.com>
parent 9a71eff3
......@@ -227,15 +227,15 @@ static int FindArt( playlist_fetcher_t *p_fetcher, input_item_t *p_item )
msg_Dbg( p_fetcher->object,
" will search at higher scope, if possible" );
p_album = &p_fetcher->albums.p_elems[fe_idx];
psz_artist = psz_album = NULL;
break;
}
FOREACH_END();
}
else
{
free( psz_artist );
free( psz_album );
}
free( psz_artist );
free( psz_album );
if ( playlist_FindArtInCacheUsingItemUID( p_item ) != VLC_SUCCESS )
playlist_FindArtInCache( p_item );
......
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