aboutsummaryrefslogtreecommitdiff
path: root/hw/usb-serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/usb-serial.c')
-rw-r--r--hw/usb-serial.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/usb-serial.c b/hw/usb-serial.c
index 091ab2cbc1..e2379c4d5e 100644
--- a/hw/usb-serial.c
+++ b/hw/usb-serial.c
@@ -486,7 +486,6 @@ static void usb_serial_handle_destroy(USBDevice *dev)
USBSerialState *s = (USBSerialState *)dev;
qemu_chr_close(s->cs);
- qemu_free(s);
}
static int usb_serial_can_read(void *opaque)