GNOME Bugzilla – Bug 733697
parse: Unref reference to enclosing bins
Last modified: 2014-07-28 12:27:32 UTC
When looking for code that accidentally forgot to unref the returned element reference from gst_bin_get_by_name() I found that gst_parse_add_delayed_set() leaks the reference to each enclosing bin of an element. This is easily remedied by the attached patch.
Created attachment 281634 [details] [review] Proposed patch plugging memory leak.
Thanks, pushed for core. master: commit 08870205811e5b88cdcb2efc89e4130954218b8d Author: Sebastian Rasmussen <sebras@hotmail.com> Date: Thu Jul 24 22:02:58 2014 +0200 parse: Unref reference to enclosing bins Previously all reference to enclosing bins of an element were leaked when doing delaying setting a property. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=733697 1.4: 9fe3365f94f02473ac7e40a2d4ab5c787b175a87 1.2: 861ca3d6787d84c9bea7110cb46821e9b8f63aff