[gstreamer-bugs] [Bug 618477] New: Memory leak in gstappsink C# binding

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed May 12 11:31:39 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=618477
  GStreamer | gst-sharp | git

           Summary: Memory leak in gstappsink C# binding
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-sharp
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: kenkela at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Created an attachment (id=160923)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=160923)
Patch that fixes the problem

When calling gst_app_sink_pull_buffer or gst_app_sink_pull_preroll a new
Gst.Buffer object is created.  This has a reference count of 1 higher than it
should hence the buffer isn't freed when the managed Gst.Buffer object is
Disposed or garbage collected.  The result is that memory usage increases
rapidly over time.

I have attached a patch that appears to fix the problem.

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