GNOME Bugzilla – Bug 734529
wildmidi: Avoid leaking copy of caps object
Last modified: 2014-08-10 11:01:19 UTC
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().
Created attachment 282985 [details] [review] Proposed patch.
Neither timidity nor the sndfile source have been ported, and there's a sndfile chunk in your patch that you didn't mention..