utils: fix element leak in find_common_root()
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 4 May 2016 07:53:32 +0000 (09:53 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 4 May 2016 09:03:53 +0000 (12:03 +0300)
commit30ee36e6301159b1dd9020c05c64cc0a9aa0355f
treec18e77d8581587043bc02efc070521935e72b1f0
parent4fe32b923f387c61865bc734fcc7c508ca4a8101
utils: fix element leak in find_common_root()

The root element was not unreffed when iterating over ancestors.

https://bugzilla.gnome.org/show_bug.cgi?id=765961
gst/gstutils.c
tests/check/pipelines/parse-launch.c