[Bug 747775] typefind: leak in gst_type_find_element_src_event

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Apr 13 07:57:01 PDT 2015


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

--- Comment #3 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Review of attachment 301455:
 --> (https://bugzilla.gnome.org/review?bug=747775&attachment=301455)

::: plugins/elements/gsttypefindelement.c
@@ +513,3 @@
       GST_EVENT_TYPE (event) == GST_EVENT_SEEK) {
+    result = gst_type_find_element_seek (typefind, event);
+    gst_mini_object_unref (GST_MINI_OBJECT_CAST (event));

Why not gst_event_unref()? Looks less ugly :)

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