diff --git a/subprojects/gst-plugins-bad/sys/winks/ksdeviceprovider.c b/subprojects/gst-plugins-bad/sys/winks/ksdeviceprovider.c index 28e9b5b669..ef415b6324 100644 --- a/subprojects/gst-plugins-bad/sys/winks/ksdeviceprovider.c +++ b/subprojects/gst-plugins-bad/sys/winks/ksdeviceprovider.c @@ -535,7 +535,7 @@ gst_ks_device_provider_start (GstDeviceProvider * provider) if (dev->data) gst_device_provider_device_add (provider, (GstDevice *) dev->data); } - g_list_free (devs); + g_list_free_full (devs, gst_object_unref); inst = (HINSTANCE) GetModuleHandle (NULL);