[Bug 768157] New: waylandsink : memory leak of gst_wayland_sink_get_caps

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jun 29 01:45:47 UTC 2016


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

            Bug ID: 768157
           Summary: waylandsink : memory leak of gst_wayland_sink_get_caps
    Classification: Platform
           Product: GStreamer
           Version: 1.8.2
                OS: Linux
            Status: NEW
          Severity: critical
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: hyunil46.park at samsung.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

There are memory leak.
I find these memory leak by valgrind tool.

Gvalue list and value of gst_wayland_sink_get_caps() are local variable.

&value is allocated on heap memory by g_value_set_string() and &list is
allocated on heap memory by gst_value_list_append_value().

but these allocated memory is not free after use.

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