diff --git a/src/hidapi/libusb/hid.c b/src/hidapi/libusb/hid.c index 1175da99c..dfc9ecb02 100644 --- a/src/hidapi/libusb/hid.c +++ b/src/hidapi/libusb/hid.c @@ -480,6 +480,7 @@ static void usb_string_cache_destroy() usb_string_cache = NULL; usb_string_cache_size = 0; + usb_string_cache_insert_pos = 0; } static struct usb_string_cache_entry *usb_string_cache_insert()