]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: quatech2: fix memory leak in error path
authorJohan Hovold <jhovold@gmail.com>
Thu, 25 Oct 2012 08:29:07 +0000 (10:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Oct 2012 17:10:16 +0000 (10:10 -0700)
commit24496dfe837363e83d9f1dde5bd68372088e6f88
tree1c240a1b5aee0c5e0cc50ff4f53ec7b907de7457
parent89133c6f9cf825de28dff95aa4e933d5349b0101
USB: quatech2: fix memory leak in error path

commit b8a0055050b6294826171641b182c09f78f4cc63 upstream.

Fix memory leak in attach error path where the read urb was never freed.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Cc: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/quatech2.c