GNOME Bugzilla – Bug 734474
videomixer: Unref allowed caps after usage
Last modified: 2014-08-08 19:19:54 UTC
gst_pad_get_allowed_caps() returns a reference caps object that must be unreffed after usage. The attached patch aims to fix this.
Created attachment 282894 [details] [review] Proposed patch fixing caps leak.
master: commit 1fa61632fe31de929b0ac3d6088c998ad408eb90 Author: Sebastian Rasmussen <sebras@hotmail.com> Date: Fri Aug 8 12:36:01 2014 +0200 videomixer: Unref allowed caps after usage Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734474 1.4: commit 113be6ac80b891b6d98cb820e1a2a724c16b3ebb Author: Sebastian Rasmussen <sebras@hotmail.com> Date: Fri Aug 8 12:36:01 2014 +0200 videomixer: Unref allowed caps after usage Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734474