Commit f96d7832 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

playlist: Fetcher: Fix leak

parent 1f99b770
...@@ -169,6 +169,14 @@ void playlist_fetcher_Delete( playlist_fetcher_t *p_fetcher ) ...@@ -169,6 +169,14 @@ void playlist_fetcher_Delete( playlist_fetcher_t *p_fetcher )
vlc_cond_destroy( &p_fetcher->wait ); vlc_cond_destroy( &p_fetcher->wait );
vlc_mutex_destroy( &p_fetcher->lock ); vlc_mutex_destroy( &p_fetcher->lock );
playlist_album_t album;
FOREACH_ARRAY( album, p_fetcher->albums )
free( album.psz_album );
free( album.psz_artist );
free( album.psz_arturl );
FOREACH_END()
ARRAY_RESET( p_fetcher->albums );
free( p_fetcher ); free( p_fetcher );
} }
......
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