[vlc-devel] commit: libvlc: Add some more info on the input item we may leak. (Pierre d 'Herbemont )

git version control git at videolan.org
Tue Apr 1 01:28:21 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Tue Apr  1 01:26:38 2008 +0200| [f88f1a76f664e4170cf25226033693acf386bf85]

libvlc: Add some more info on the input item we may leak.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f88f1a76f664e4170cf25226033693acf386bf85
---

 src/libvlc-common.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/libvlc-common.c b/src/libvlc-common.c
index 7a29a70..599e0e7 100644
--- a/src/libvlc-common.c
+++ b/src/libvlc-common.c
@@ -995,7 +995,8 @@ int libvlc_InternalCleanup( libvlc_int_t *p_libvlc )
 
     vlc_bool_t b_clean = VLC_TRUE;
     FOREACH_ARRAY( input_item_t *p_del, p_libvlc->input_items )
-        msg_Err( p_libvlc, "input item %p has not been deleted properly: refcount %d", p_del, p_del->i_gc_refcount );
+        msg_Err( p_libvlc, "input item %p has not been deleted properly: refcount %d, name %s",
+            p_del, p_del->i_gc_refcount, p_del->psz_name ? p_del->psz_name : "(null)" );
         b_clean = VLC_FALSE;
     FOREACH_END();
     assert( b_clean );




More information about the vlc-devel mailing list