[Bug 747990] bin/element: gst_bin_add() and gst_element_add_pad() don't take reference in error cases
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Jul 10 01:07:31 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=747990
--- Comment #4 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Comment on attachment 307202
--> https://bugzilla.gnome.org/attachment.cgi?id=307202
bin: fix element leak
I'm not sure this is entirely correct because of floating references. I think
it should call gst_object_ref_sink() (somewhere, if it doesn't already.
gst_object_set_parent() does that IIRC) and only then gst_object_unref(). For
both patches.
--
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