diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2016-05-18 16:58:44 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-06-21 10:52:47 +0300 |
commit | e925a8acf069b094a83a872cb1793586ceb5b0c3 (patch) | |
tree | 1d379cdf8f45fd5e97fa7742e53a728ed6a769e4 /tests | |
parent | 378051d80a4d1d05df77d536e09d6d4d31a902df (diff) | |
download | gstreamer-plugins-bad-e925a8acf069b094a83a872cb1793586ceb5b0c3.tar.gz |
autoconvert: fix factories leak in test
The factories returned by gst_registry_find_feature() have to be
unreffed.
https://bugzilla.gnome.org/show_bug.cgi?id=766663
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check/elements/autoconvert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check/elements/autoconvert.c b/tests/check/elements/autoconvert.c index 51e4c5e63..95ca2d729 100644 --- a/tests/check/elements/autoconvert.c +++ b/tests/check/elements/autoconvert.c @@ -78,7 +78,7 @@ set_autoconvert_factories (GstElement * autoconvert) g_object_set (G_OBJECT (autoconvert), "factories", factories, NULL); - g_list_free (factories); + g_list_free_full (factories, gst_object_unref); } GST_START_TEST (test_autoconvert_simple) |