[Bug 733386] New: Memory leak in appsrc

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jul 18 18:20:47 PDT 2014


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

           Summary: Memory leak in appsrc
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: kakaroto at kakaroto.homelinux.net
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


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

Patch to appsrc

There's a memory leak in appsrc if a user calls gst_app_src_set_callbacks with
a GDestroyNotify, as the destroy notify doesn't get called in the dispose. It
does get called correctly with appsink, the bug is only in appsrc.
I've attached a patch that would fix it.
Patch also uploaded here :
https://github.com/kakaroto/gst-plugins-base/commit/4db5bf4e52e8a4d053a6ca6be86e99c14d8e79dd

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