Windows: Free all WinUSB handles when closing a device
authorChris Dickens <christopher.a.dickens@gmail.com>
Sun, 11 Jan 2015 07:55:28 +0000 (23:55 -0800)
committerChris Dickens <christopher.a.dickens@gmail.com>
Sun, 11 Jan 2015 07:55:28 +0000 (23:55 -0800)
commit63a440f154364f0d306387d82ae6ae5f2ca1ab61
treeb642ce648e1c36440d7a2f2265459ce5252cb1e5
parent5ca334d653097a7320e44e671760552f98420756
Windows: Free all WinUSB handles when closing a device

* libusbK (as of v3.0.7.0) will fail after 32 opens because
  resources from claimed interfaces are not freed by simply
  closing just the device handle
* Closes #16

Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
libusb/os/windows_usb.c