[vlc-devel] commit: playlist: Print a destroyed message when the playlist, fetcher and preparser are destroyed. (Pierre d'Herbemont )
git version control
git at videolan.org
Sun Jul 6 18:59:37 CEST 2008
vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sun Jul 6 19:01:48 2008 +0200| [d8059014cbe3ce58e12df71408e171d497a1dd31]
playlist: Print a destroyed message when the playlist, fetcher and preparser are destroyed.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d8059014cbe3ce58e12df71408e171d497a1dd31
---
src/playlist/engine.c | 2 ++
src/playlist/thread.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/playlist/engine.c b/src/playlist/engine.c
index 3631c1f..152b48b 100644
--- a/src/playlist/engine.c
+++ b/src/playlist/engine.c
@@ -173,6 +173,8 @@ static void playlist_Destructor( vlc_object_t * p_this )
if( p_playlist->p_fetcher )
vlc_object_release( p_playlist->p_fetcher );
+
+ msg_Dbg( p_this, "Destroyed" );
}
/* Destroy remaining objects */
diff --git a/src/playlist/thread.c b/src/playlist/thread.c
index ae20730..2e1b70d 100644
--- a/src/playlist/thread.c
+++ b/src/playlist/thread.c
@@ -187,10 +187,12 @@ static void PreparseDestructor( vlc_object_t * p_this )
{
playlist_preparse_t * p_preparse = (playlist_preparse_t *)p_this;
free( p_preparse->pp_waiting );
+ msg_Dbg( p_this, "Destroyed" );
}
static void FetcherDestructor( vlc_object_t * p_this )
{
playlist_fetcher_t * p_fetcher = (playlist_fetcher_t *)p_this;
free( p_fetcher->pp_waiting );
+ msg_Dbg( p_this, "Destroyed" );
}
More information about the vlc-devel
mailing list