Fixed crash after reinitializing libusb HID support

This commit is contained in:
Sam Lantinga 2021-06-08 13:15:24 -07:00
parent c33e3c15fb
commit cb5e86353b

View File

@ -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()