[gstreamer-bugs] [Bug 615572] New: Buffer Leak in audiorate during fill process

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Apr 12 13:25:52 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=615572
  GStreamer | gst-plugins-base | git

           Summary: Buffer Leak in audiorate during fill process
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: bbazso at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Created an attachment (id=158532)
 View: https://bugzilla.gnome.org/attachment.cgi?id=158532
 Review: https://bugzilla.gnome.org/review?bug=615572&attachment=158532

The patch that fixes the leak mentioned in this issue.

Overview: 

A buffer leak (Memory leak) was detected in the audiorate module when
performing  a fill operation. 

When the fill buffer was not successfully pushed (i.e. ret != GST_FLOW_OK) the
input buffer is not being unreffed; hence, causing the memory leak mentioned
above.

Steps to Reproduce:

In my case, I was stopping the pipeline a random intervals which the pipeline
was processing.  This produced the aforementioned leak.

Actual Results: 

The application leaked memory.

Expected Results: 

The application should not leak.

Build Date & Platform:

    git

Additional Information: 

Attached is the patch that fixes this issue.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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