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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Nov 25 09:51:44 UTC 2016


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

            Bug ID: 775071
           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-good
          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 340738
  --> https://bugzilla.gnome.org/attachment.cgi?id=340738&action=edit
memory leak in usage of gst_pad_get_current_caps()

In File: gst-plugins-good-1.10.1/gst/rtp/gstrtph264depay.c
Function: gst_rtp_h264_set_src_caps()
memory is allocated by old_caps at line:401 is not freed before the function
returns.

In file: gst-plugins-good-1.10.1/gst/rtp/gstrtpsbcdepay.c
Function: gst_rtp_sbc_depay_setcaps()
memory is allocated by oldcaps at line:177 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