diff --git a/libusb/os/wince_usb.c b/libusb/os/wince_usb.c index 41f2724..fdc0d5e 100644 --- a/libusb/os/wince_usb.c +++ b/libusb/os/wince_usb.c @@ -773,9 +773,11 @@ static int wince_handle_events( wince_handle_callback(transfer, io_result, io_size); } else if (found) { usbi_err(ctx, "matching transfer for fd %x has not completed", fds[i]); + usbi_mutex_unlock(&ctx->open_devs_lock); return LIBUSB_ERROR_OTHER; } else { usbi_err(ctx, "could not find a matching transfer for fd %x", fds[i]); + usbi_mutex_unlock(&ctx->open_devs_lock); return LIBUSB_ERROR_NOT_FOUND; } } diff --git a/libusb/version_nano.h b/libusb/version_nano.h index 1c1a4ec..a279ab1 100644 --- a/libusb/version_nano.h +++ b/libusb/version_nano.h @@ -1 +1 @@ -#define LIBUSB_NANO 10976 +#define LIBUSB_NANO 10977