]> git.sesse.net Git - vlc/commitdiff
libvlc: Add some more info on the input item we may leak.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 31 Mar 2008 23:26:38 +0000 (01:26 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 31 Mar 2008 23:28:29 +0000 (01:28 +0200)
src/libvlc-common.c

index 7a29a70c4e899db3366d4305b9176534a5527fa6..599e0e7bd14555f487e9b75f2b89bf669ae115d0 100644 (file)
@@ -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 );