mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
dshowdeviceprovider: Fix leak in gst_dshow_device_provider_start
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4227>
This commit is contained in:
parent
5d0d42fb95
commit
df679c145e
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ gst_dshow_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);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue