From 0aea6a86acc8b14cdc030c9d8c44781b5ab75fdd Mon Sep 17 00:00:00 2001 From: Adrien De Coninck Date: Sun, 19 Mar 2023 20:57:18 +0100 Subject: [PATCH] dshowdeviceprovider: Fix leak in gst_dshow_device_provider_start Part-of: --- .../gst-plugins-bad/sys/directshow/dshowdeviceprovider.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-bad/sys/directshow/dshowdeviceprovider.cpp b/subprojects/gst-plugins-bad/sys/directshow/dshowdeviceprovider.cpp index 2f49e4a403..670a3831d3 100644 --- a/subprojects/gst-plugins-bad/sys/directshow/dshowdeviceprovider.cpp +++ b/subprojects/gst-plugins-bad/sys/directshow/dshowdeviceprovider.cpp @@ -130,7 +130,7 @@ gst_dshow_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); return TRUE; }