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
This commit is contained in:
Guillaume Desmottes 2016-05-18 16:58:44 +03:00 committed by Sebastian Dröge
parent 378051d80a
commit e925a8acf0

View file

@ -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)