Windows: fix 2 bugs in windows_handle_events()
authorPete Batard <pete@akeo.ie>
Tue, 16 Dec 2014 19:19:50 +0000 (19:19 +0000)
committerPete Batard <pete@akeo.ie>
Tue, 16 Dec 2014 19:19:50 +0000 (19:19 +0000)
commit63cd7d193cfd78712bfc0a74cb35cf76dc55f55d
tree259791ca8f6e2d93bdb79d6a4879e1c49e420c12
parentd37635afb2e845210c80c0765dccad98933e72d0
Windows: fix 2 bugs in windows_handle_events()

* Var found was not reset to false before list_for_each_entry()
* ctx->open_devs_lock was not released on error.
* Issues reported by Yongjian Xu
libusb/os/windows_usb.c
libusb/version_nano.h