parse-launch: fix factory leak in test
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 4 May 2016 08:04:30 +0000 (10:04 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 5 May 2016 07:01:25 +0000 (10:01 +0300)
commit6deefac851a58f3d55540f6dd852ffd3799a3919
tree612eb56777397bd531908da940941b8f058171da
parent784ebb045e2674caaa1c30cabb755ef59e5599ab
parse-launch: fix factory leak in test

We get 2 references one from gst_element_factory_find() and the other
from gst_plugin_feature_load().

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