Commit d8059014 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

playlist: Print a destroyed message when the playlist, fetcher and preparser are destroyed.

parent e91ee32a
...@@ -173,6 +173,8 @@ static void playlist_Destructor( vlc_object_t * p_this ) ...@@ -173,6 +173,8 @@ static void playlist_Destructor( vlc_object_t * p_this )
if( p_playlist->p_fetcher ) if( p_playlist->p_fetcher )
vlc_object_release( p_playlist->p_fetcher ); vlc_object_release( p_playlist->p_fetcher );
msg_Dbg( p_this, "Destroyed" );
} }
/* Destroy remaining objects */ /* Destroy remaining objects */
......
...@@ -187,10 +187,12 @@ static void PreparseDestructor( vlc_object_t * p_this ) ...@@ -187,10 +187,12 @@ static void PreparseDestructor( vlc_object_t * p_this )
{ {
playlist_preparse_t * p_preparse = (playlist_preparse_t *)p_this; playlist_preparse_t * p_preparse = (playlist_preparse_t *)p_this;
free( p_preparse->pp_waiting ); free( p_preparse->pp_waiting );
msg_Dbg( p_this, "Destroyed" );
} }
static void FetcherDestructor( vlc_object_t * p_this ) static void FetcherDestructor( vlc_object_t * p_this )
{ {
playlist_fetcher_t * p_fetcher = (playlist_fetcher_t *)p_this; playlist_fetcher_t * p_fetcher = (playlist_fetcher_t *)p_this;
free( p_fetcher->pp_waiting ); free( p_fetcher->pp_waiting );
msg_Dbg( p_this, "Destroyed" );
} }
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