[Bug 765052] tracer: add (mini) object leak tracer

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu May 26 13:15:38 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=765052

--- Comment #46 from Guillaume Desmottes <gdesmott at gnome.org> ---
(In reply to Guillaume Desmottes from comment #39)
> Created attachment 328244 [details] [review]
> (mini)object: add tracer hooks when created and destroyed

Humm actually I don't really need the destroyed tracer, a weak ref could do the
job as well. Actually it may even be better, I'm having troubles when using the
leak tracer with gst-validate which has its own tracer as well: object
destroyed while its tracer are not reported by the destroy hooks as tracing has
been disabled (_priv_tracer_enabled = FALSE).

What do you guys think? Should we keep only the creation hooks or have
destruction as well to stay symetric even if not used by the leaks tracer?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list