mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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:
parent
378051d80a
commit
e925a8acf0
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue