GST_REFCOUNTING: Add logging of pointer address for dispose, finalize, etc messages
authorMark Combellack <gnome-bugzilla@combellack.net>
Fri, 15 May 2015 12:36:04 +0000 (13:36 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 2 Apr 2016 17:18:10 +0000 (18:18 +0100)
commitb8f2929dac4a47a11a476057c3adc1920a97ac6d
treef375a48e13d6c361ef2465e0bcfdd21516d78db4
parent1bb699446af3129f4647fd1504bd32574e060b2c
GST_REFCOUNTING: Add logging of pointer address for dispose, finalize, etc messages

Updated the GST_REFCOUNTING logging so that it includes the pointer
address of the object that is being disposed or finalized.

With this change is is then possible to match up GST_REFCOUNTING log messages
for object allocation/disposal/finalization. This can help with diagnosing
"memory leaks" in applications that have not correctly disposed of all the
GStreamer objects it creates.

https://bugzilla.gnome.org/show_bug.cgi?id=749427
gst/gstbin.c
gst/gstbufferpool.c
gst/gstelement.c
gst/gstobject.c
gst/gstpad.c
gst/gstpipeline.c