[PATCH resend] user32: Fix a memory leak.
Zhiyi Zhang
zzhang at codeweavers.com
Wed Jan 23 09:34:12 CST 2019
Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
---
Testbot will fail because of other user32 failures.
dlls/user32/rawinput.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/user32/rawinput.c b/dlls/user32/rawinput.c
index cf3028a4ec..088e50da4e 100644
--- a/dlls/user32/rawinput.c
+++ b/dlls/user32/rawinput.c
@@ -172,6 +172,7 @@ static void find_hid_devices(void)
done:
LeaveCriticalSection(&hid_devices_cs);
+ SetupDiDestroyDeviceInfoList(set);
heap_free(detail);
}
--
2.19.2
More information about the wine-devel
mailing list