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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat May 14 06:00:36 UTC 2016


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

--- Comment #31 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Yes, use GPOINTER_TO_GSIZE() and the other way around. See the GValue GType
handling in e.g. glib's gparamspecs.c

Also this should really happen in GObject::constructed. What Tim remembered
about the class not being the real class yet in instance_init is correct (which
is why there is a second, hidden parameter with the real class struct). In
GstObject's instance_init you will *always* get the original GObjectClass (that
is, G_TYPE_FROM_CLASS() == G_TYPE_OBJECT).

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