[Bug 784978] omx: Possible Memory leak in gst_caps_from_string

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jul 17 13:27:47 UTC 2017


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

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #355746|none                        |needs-work
             status|                            |

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

::: omx/gstomx.c
@@ +2663,3 @@
     g_free (template_caps);
     gst_element_class_add_pad_template (element_class, templ);
+    gst_caps_unref (caps);

There's the same leak for the sink pad template a few lines above

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