Commit 7c8cf96e authored by Zhiyi Zhang's avatar Zhiyi Zhang Committed by Alexandre Julliard

user32: Fix a memory leak.

parent de837ca7
...@@ -172,6 +172,7 @@ static void find_hid_devices(void) ...@@ -172,6 +172,7 @@ static void find_hid_devices(void)
done: done:
LeaveCriticalSection(&hid_devices_cs); LeaveCriticalSection(&hid_devices_cs);
SetupDiDestroyDeviceInfoList(set);
heap_free(detail); heap_free(detail);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment