[Bug 793294] Add a gst_clear_object (similar to g_clear_object)

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Feb 9 08:09:04 UTC 2018


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

--- Comment #5 from Niels De Graef <nielsdegraef at gmail.com> ---
(In reply to Sebastian Dröge (slomo) from comment #4)
> It's easy enough to add and features we include (the leak tracer) are
> depending on this, or not?
Yes, it basically falls back to g_object_unref(), so whatever you add/remove
there will be executed by gst_clear_object() also.

Just wanted to ask: if this get submitted, would there be interested for
similar functions? (e.g. gst_clear_mini_object(), gst_clear_caps(), ...)

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