GNOME Bugzilla – Bug 734528
dvbsuboverlay: Avoid leaking copy of caps object
Last modified: 2014-08-11 06:56:30 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 282984 [details] [review] Proposed patch.
commit 128cbf4f575ed66f8b177b02cf91740fb7e8043a Author: Sebastian Rasmussen <sebras@hotmail.com> Date: Sat Aug 9 13:09:52 2014 +0200 dvbsuboverlay: Avoid leaking copy of caps object 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. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734528