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>
(cherry picked from commit 7c8cf96e9c
)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
oldstable
parent
e4b249f2e1
commit
f0b022bdf5
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue