Windows: Fix early abort in libusb_close
authorPete Batard <pete@akeo.ie>
Wed, 3 Oct 2012 22:52:16 +0000 (23:52 +0100)
committerPete Batard <pete@akeo.ie>
Wed, 3 Oct 2012 22:52:16 +0000 (23:52 +0100)
commit09759d5836766fb3b886824cd669bc0dfc149d00
tree2dc9000f62f80bd29b4dff58342dc3d424dedac8
parentf17d190f0f737b55230062ab5e601ed7fcdd2f02
Windows: Fix early abort in libusb_close

* We're calling winusbx_close with SUB_API_NOTSET, so
  we should attempt to initialize it first.
* Issue reported by Ramon Zambelli and Frank Hibbeln
libusb/os/windows_usb.c
libusb/version_nano.h