]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
usb: microtek possible memleak fix
authorMariusz Kozlowski <m.kozlowski@tuxland.pl>
Fri, 17 Nov 2006 10:53:23 +0000 (11:53 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Dec 2006 22:23:36 +0000 (14:23 -0800)
commita3b1f50ce2fdc73c7e60e04c0a2235af74deac2b
tree0135ea9c2e113de4b674c91efbd6a68f348e80b7
parent49314378ac9b76c40f221e3e5aed866e912e7e99
usb: microtek possible memleak fix

Possible memleak fix on error path. The changes:

- out_kfree2 and out_free_urb replaced
- missing scsi_host_put() added

Here it goes:

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: Oliver Neukum <oliver@neukum.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/image/microtek.c