X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fusb%2Fserial%2Fusb-serial.c;h=794b5ffe4397bcfd84f38c3d7affaebac6be77af;hb=8b805ef617cf0e02f6d18b891f8deb6246421b01;hp=8be3f39891c71c705c61a8a3d95ff53e3289300b;hpb=1d63e726408dfdb3e10ed8f00c383b30ebb333d3;p=linux-2.6-omap-h63xx.git diff --git a/drivers/usb/serial/usb-serial.c b/drivers/usb/serial/usb-serial.c index 8be3f39891c..794b5ffe439 100644 --- a/drivers/usb/serial/usb-serial.c +++ b/drivers/usb/serial/usb-serial.c @@ -281,6 +281,7 @@ static void serial_close(struct tty_struct *tty, struct file *filp) if (tty->driver_data) tty->driver_data = NULL; tty_port_tty_set(&port->port, NULL); + tty_kref_put(tty); } }