[PATCH] zd1211rw: fix potential leak in usb_init
authorMaxime Austruy <maxime@tralhalla.org>
Mon, 29 Jan 2007 00:59:51 +0000 (00:59 +0000)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 7 Feb 2007 20:23:53 +0000 (15:23 -0500)
commit192b775cc811b0e9e0d174ffdd5a814794392482
tree2cceaabfda1236abd6a607e33c464f3b4704ba9f
parent62d0cfcb27cf755cebdc93ca95dabc83608007cd
[PATCH] zd1211rw: fix potential leak in usb_init

usb_init should call destroy_workqueue when usb_register fails.

Signed-off-by: Maxime Austruy <maxime@tralhalla.org>
Signed-off-by: Ulrich Kunitz <kune@deine-taler.de>
Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/zd1211rw/zd_usb.c