GNOME Bugzilla – Bug 734546
tests: Unref element after usage
Last modified: 2014-08-09 13:32:57 UTC
gst_bin_get_by_name_recurse_up() returns an element reference that must be unreffed after usage. This was accidentally omitted in one example, but the attached patch fixes this.
Created attachment 283000 [details] [review] Proposed patch.
commit 486f30558a8418c5a22143083e2755a1c2375ff0 Author: Sebastian Rasmussen <sebras@hotmail.com> Date: Thu Jul 17 01:34:17 2014 +0200 examples: unref element after usage gst_bin_get_by_name_recurse_up() returns an element reference that must be unreffed after usage. https://bugzilla.gnome.org/show_bug.cgi?id=734546