diff options
Diffstat (limited to 'hw/usb-hid.c')
-rw-r--r-- | hw/usb-hid.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/usb-hid.c b/hw/usb-hid.c index 3bf06fa411..d1cc45e02c 100644 --- a/hw/usb-hid.c +++ b/hw/usb-hid.c @@ -843,7 +843,6 @@ static void usb_hid_handle_destroy(USBDevice *dev) if (s->kind != USB_KEYBOARD) qemu_remove_mouse_event_handler(s->ptr.eh_entry); /* TODO: else */ - qemu_free(s); } static int usb_hid_initfn(USBDevice *dev, int kind) |