|
@@ -2253,6 +2253,7 @@ static void hso_serial_common_free(struct hso_serial *serial)
|
|
|
|
|
|
|
|
/* unlink and free TX URB */
|
|
/* unlink and free TX URB */
|
|
|
usb_free_urb(serial->tx_urb);
|
|
usb_free_urb(serial->tx_urb);
|
|
|
|
|
+ kfree(serial->tx_buffer);
|
|
|
kfree(serial->tx_data);
|
|
kfree(serial->tx_data);
|
|
|
tty_port_destroy(&serial->port);
|
|
tty_port_destroy(&serial->port);
|
|
|
}
|
|
}
|