commit | 7b8e2c1db0f358bc389dd1ee4633a92d80a5a6d0 | [log] [tgz] |
---|---|---|
author | Oliver Neukum <oliver@neukum.org> | Fri Nov 13 14:26:23 2009 +0100 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Sat Nov 14 12:57:08 2009 -0800 |
tree | 0e24795c1f0794ed2920e9f25c754d5bce39de44 | |
parent | 479c2553af9a176a0613894b9f1ec73425fd56a3 [diff] |
fix memory leak in fixed btusb_close If the waker is killed before it can replay outstanding URBs, these URBs won't be freed or will be replayed at the next open. This patch closes the window by explicitely discarding outstanding URBs. Signed-off-by: Oliver Neukum <oliver@neukum.org> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>