Commit 2c83ec80 authored by Jinoh Kang's avatar Jinoh Kang Committed by Alexandre Julliard

wineusb.sys: Remove erroneous call to LeaveCriticalSection() in add_usb_device.

parent 3ded60bd
......@@ -114,7 +114,6 @@ static void add_usb_device(libusb_device *libusb_device)
FILE_DEVICE_USB, 0, FALSE, &device_obj)))
{
ERR("Failed to create device, status %#x.\n", status);
LeaveCriticalSection(&wineusb_cs);
libusb_close(handle);
return;
}
......
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