Commit f0b022bd authored by Zhiyi Zhang's avatar Zhiyi Zhang Committed by Michael Stefaniuc

user32: Fix a memory leak.

Signed-off-by: 's avatarZhiyi Zhang <zzhang@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org> (cherry picked from commit 7c8cf96e) Signed-off-by: 's avatarMichael Stefaniuc <mstefani@winehq.org>
parent e4b249f2
......@@ -172,6 +172,7 @@ static void find_hid_devices(void)
done:
LeaveCriticalSection(&hid_devices_cs);
SetupDiDestroyDeviceInfoList(set);
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