[vlc-devel] commit: objects: Dump libvlc when we have some leak related errors. ( Pierre d'Herbemont )

git version control git at videolan.org
Fri Apr 4 14:23:24 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Fri Apr  4 14:21:41 2008 +0200| [6f2d76399a38a7e4b27a05f495446c2aa2902910]

objects: Dump libvlc when we have some leak related errors.

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

 src/misc/objects.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/misc/objects.c b/src/misc/objects.c
index 77c5876..de29859 100644
--- a/src/misc/objects.c
+++ b/src/misc/objects.c
@@ -371,6 +371,8 @@ static void vlc_object_destroy( vlc_object_t *p_this )
                      p_this->pp_children[i]->psz_object_name );
         }
         fflush(stderr);
+        /* Dump libvlc object to ease debugging */
+        vlc_object_dump( p_this->p_libvlc );
         abort();
     }
 




More information about the vlc-devel mailing list