mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
ksdeviceprovider: Fix leak in gst_dshow_device_provider_start
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4224>
This commit is contained in:
parent
0aea6a86ac
commit
ab69e24d9e
1 changed files with 1 additions and 1 deletions
|
@ -535,7 +535,7 @@ gst_ks_device_provider_start (GstDeviceProvider * provider)
|
||||||
if (dev->data)
|
if (dev->data)
|
||||||
gst_device_provider_device_add (provider, (GstDevice *) 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);
|
inst = (HINSTANCE) GetModuleHandle (NULL);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue