diff options
Diffstat (limited to 'libusb/os/wince_usb.c')
-rw-r--r-- | libusb/os/wince_usb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libusb/os/wince_usb.c b/libusb/os/wince_usb.c index 22ed669..0d466b8 100644 --- a/libusb/os/wince_usb.c +++ b/libusb/os/wince_usb.c @@ -333,14 +333,14 @@ static int wince_get_device_list( goto err_out; } - safe_unref_device(dev); + libusb_unref_device(dev); } *discdevs = new_devices; return r; err_out: *discdevs = new_devices; - safe_unref_device(dev); + libusb_unref_device(dev); // Release the remainder of the unprocessed device list. // The devices added to new_devices already will still be passed up to libusb, // which can dispose of them at its leisure. |