GNOME Bugzilla – Bug 734345
tests: Add missing unrefs of objects after use
Last modified: 2014-08-06 11:47:51 UTC
By looking for calls to functions that are annotated (transfer full) I noticed several occurances in the tests where the returned object was never unreffed. The attached patch aims to fix this.
Created attachment 282651 [details] [review] Proposed patch plugging reference leaks.
commit 4cf6a6e086572ae1debf865f8fc645e10737b7be Author: Sebastian Rasmussen <sebras@hotmail.com> Date: Wed Aug 6 12:34:42 2014 +0200 tests: Add missing unrefs of objects after use Unreffing the objects returned by gst_bin_get_by_name() and gst_pipeline_get_use() were missing in several tests, so add these. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734345