[Bug 743062] GstObject subclasses sinking instances in instance_init/constructor cause leaks in bindings

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon May 15 11:40:12 UTC 2017


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

--- Comment #11 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Created attachment 351883
  --> https://bugzilla.gnome.org/attachment.cgi?id=351883&action=edit
gst: Don't ref_sink() GstObject subclasses in instance_init/constructor

This is something bindings can't handle and it causes leaks. Instead
move the ref_sink() to the explicit, new() constructors.

This means that abstract classes, and anything that can have subclasses,
will have to do ref_sink() in their new() function now. Specifically
this affects GstClock and GstControlSource.

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


More information about the gstreamer-bugs mailing list