forked from Mirrors/wine-wine
user32: Fix a memory leak.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>stable
parent
de837ca7eb
commit
7c8cf96e9c
|
@ -172,6 +172,7 @@ static void find_hid_devices(void)
|
|||
|
||||
done:
|
||||
LeaveCriticalSection(&hid_devices_cs);
|
||||
SetupDiDestroyDeviceInfoList(set);
|
||||
heap_free(detail);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue