[Bug 734529] New: wildmidi: Avoid leaking copy of caps object

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Aug 9 04:51:58 PDT 2014


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

           Summary: wildmidi: Avoid leaking copy of caps object
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: sebras at hotmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


gst_pad_get_pad_template_caps() returns a reference which is unreferenced, so
creating a copy using gst_caps_copy() results in a reference leak. The attached
patch removes the uncessary calls to gst_caps_copy().

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