diff options
Diffstat (limited to 'drivers/usb/serial/usb-serial.c')
-rw-r--r-- | drivers/usb/serial/usb-serial.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/serial/usb-serial.c b/drivers/usb/serial/usb-serial.c index 73b8e0569164..64bda135ba7e 100644 --- a/drivers/usb/serial/usb-serial.c +++ b/drivers/usb/serial/usb-serial.c | |||
@@ -597,6 +597,7 @@ static void port_release(struct device *dev) | |||
597 | kfifo_free(&port->write_fifo); | 597 | kfifo_free(&port->write_fifo); |
598 | kfree(port->interrupt_in_buffer); | 598 | kfree(port->interrupt_in_buffer); |
599 | kfree(port->interrupt_out_buffer); | 599 | kfree(port->interrupt_out_buffer); |
600 | tty_port_destroy(&port->port); | ||
600 | kfree(port); | 601 | kfree(port); |
601 | } | 602 | } |
602 | 603 | ||