[Bug 788465] New: found memory leak in gstreamer\libs\gst\base\gstbaseparse.c

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Oct 3 11:45:36 UTC 2017


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

            Bug ID: 788465
           Summary: found memory leak in
                    gstreamer\libs\gst\base\gstbaseparse.c
    Classification: Platform
           Product: GStreamer
           Version: 1.13.x
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: renu1.r at samsung.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Hi,

I found memory leak, in gstbaseparse.c file when there is no caps created.

line 2402:

  /* should have caps by now */
  if (!gst_pad_has_current_caps (parse->srcpad))
    goto no_caps;


Solution:-


  /* should have caps by now */
  if (!gst_pad_has_current_caps (parse->srcpad))
{
    gst_buffer_unref (buffer);
    goto no_caps;
}

Please review .


Regards,
Renu

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