user32: Fix a memory leak.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
stable
Zhiyi Zhang 2019-01-23 23:34:12 +08:00 committed by Alexandre Julliard
parent de837ca7eb
commit 7c8cf96e9c
1 changed files with 1 additions and 0 deletions

View File

@ -172,6 +172,7 @@ static void find_hid_devices(void)
done:
LeaveCriticalSection(&hid_devices_cs);
SetupDiDestroyDeviceInfoList(set);
heap_free(detail);
}