diff options
author | Alan Cox <alan@redhat.com> | 2008-10-30 16:54:12 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-30 20:09:07 +0100 |
commit | fce4877a6792ad72b88f6fd7556d19da5f20364d (patch) | |
tree | cc272f4b863ebfb6595974feca28168cb59fc367 /drivers/pci | |
parent | Merge branch 'i2c-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6 (diff) | |
download | linux-fce4877a6792ad72b88f6fd7556d19da5f20364d.tar.xz linux-fce4877a6792ad72b88f6fd7556d19da5f20364d.zip |
tty: Fix USB kref leak
When we close we must clear the extra reference we got when we read
port->tty. Setting the port tty NULL will clear the kref held by the driver
but not the one we obtained ourselves while doing the lookup.
Signed-off-by: Alan Cox <alan@redhat.com>
Tested-by: Helge Hafting <helge.hafting@aitel.hist.no>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions