X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fusb%2Fserial%2Fusb-serial.c;h=794b5ffe4397bcfd84f38c3d7affaebac6be77af;hb=6f1e94031f5891e8b375e5ff5d48672c250be353;hp=8be3f39891c71c705c61a8a3d95ff53e3289300b;hpb=72441bdc76f7f71d7b75cdaa48f26dbb1f3d932e;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); } }