mirror of
https://github.com/RPCS3/libusb.git
synced 2026-01-31 01:25:19 +01:00
Windows: Plug HANDLE leak
Restore a CloseHandle() call that was mistakenly removed during a merge conflict resolution. Closes #404 Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
This commit is contained in:
@@ -898,6 +898,8 @@ static int init_device(struct libusb_device *dev, struct libusb_device *parent_d
|
||||
}
|
||||
}
|
||||
|
||||
CloseHandle(hub_handle);
|
||||
|
||||
if (conn_info.DeviceAddress > UINT8_MAX)
|
||||
usbi_err(ctx, "program assertion failed - device address overflow");
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
#define LIBUSB_NANO 11302
|
||||
#define LIBUSB_NANO 11303
|
||||
|
||||
Reference in New Issue
Block a user