commit | 24a15a62dcb1968bf4ffdae55c88fa934d971180 | [log] [tgz] |
---|---|---|
author | Alan Cox <alan@linux.intel.com> | Thu Jul 09 13:36:22 2009 +0100 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Fri Jul 10 19:17:22 2009 -0700 |
tree | 39a2231da07c6a47a4b66baf0158591a9739ac8f | |
parent | 4cd1de0afaaa45309f34d7282ea4c07d9b56a3ff [diff] |
tty: Fix USB kref leak The sysrq code acquired a kref leak. Fix it by passing the tty separately from the caller (thus effectively using the callers kref which all the callers hold anyway) Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>