mirror of
https://github.com/shadps4-emu/ext-SDL.git
synced 2025-01-08 03:10:30 +00:00
hidapi, libusb: import mainstream commit 536bad201e
This commit is contained in:
parent
fa073ed01a
commit
7a5743031d
@ -1497,6 +1497,7 @@ void HID_API_EXPORT hid_close(hid_device *dev)
|
||||
|
||||
/* Clean up the Transfer objects allocated in read_thread(). */
|
||||
free(dev->transfer->buffer);
|
||||
dev->transfer->buffer = NULL;
|
||||
libusb_free_transfer(dev->transfer);
|
||||
|
||||
/* release the interface */
|
||||
|
Loading…
Reference in New Issue
Block a user