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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon May 16 08:31:19 UTC 2016


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

--- Comment #33 from Guillaume Desmottes <gdesmott at gnome.org> ---
(In reply to Tim-Philipp Müller from comment #29)
> Comment on attachment 327589 [details] [review]
> (mini)object: add tracer hooks when init and finalized
>
> I wonder if we should override GObject::constructed() and call the
> OBJECT_INIT trace macro from there, because in the _init() function the
> object is not fully set up yet and the class won't be the final class yet
> iirc, in case it's a sub-class.

Would you still call the tracer OBJECT_INIT then? Maybe
(MINI_)_OBJECT_CREATED/DESTROYED would be more generic?

-- 
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