[Bug 775072] New: memory leak in usage of gst_pad_get_current_caps() API

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Nov 25 10:01:40 UTC 2016


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

            Bug ID: 775072
           Summary: memory leak in usage of gst_pad_get_current_caps() API
    Classification: Platform
           Product: GStreamer
           Version: 1.10.1
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: garima.g at samsung.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 340741
  --> https://bugzilla.gnome.org/attachment.cgi?id=340741&action=edit
memory leak in usage of gst_pad_get_current_caps() API

File:gst-plugins-bad-1.10.1/gst/mpegpsmux/mpegpsmux.c
Function: mpegpsmux_create_stream()
memory allocated to 'caps' at line:225 is not freed before the function
returns.

File:gst-plugins-bad-1.10.1/tests/examples/directfb/gstdfb.c
Function: size_changed()
memory allocated to 'caps' at line:86 is not freed before the function returns.

Applied Fix: Added gst_caps_unref to free the allocated memory.

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