linux/drivers/usb/wusbcore
Dan Carpenter f07af4b630 USB: wusbcore/wa-xfer: error handling fixes in setup_segs()
1) It didn't free xfer->seg[0] so there was a leak.
2) xfer->seg[cnt] can be NULL.
3) Use usb_free_urb() for ->dto_urb instead of kfree().

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-02-06 11:38:14 -08:00
..
cbaf.c USB: convert drivers/usb/* to use module_usb_driver() 2011-11-18 09:34:02 -08:00
crypto.c Fix common misspellings 2011-03-31 11:26:23 -03:00
dev-sysfs.c
devconnect.c WUSB: remove an unnused variable 2012-10-22 11:33:34 -07:00
Kconfig USB: remove CONFIG_EXPERIMENTAL dependancies 2012-09-17 23:00:15 -07:00
Makefile
mmc.c usb: Add export.h for EXPORT_SYMBOL/THIS_MODULE where needed 2011-10-31 19:31:25 -04:00
pal.c
reservation.c Fix common misspellings 2011-03-31 11:26:23 -03:00
rh.c usb: Add export.h for EXPORT_SYMBOL/THIS_MODULE where needed 2011-10-31 19:31:25 -04:00
security.c wusb: Fix potential memory leak in wusb_dev_sec_add() 2012-08-10 12:06:38 -07:00
wa-hc.c drivers/usb/wusbcore/wa-hc.c: fix error return code 2012-08-15 15:17:40 -07:00
wa-hc.h
wa-nep.c
wa-rpipe.c usb: Add export.h for EXPORT_SYMBOL/THIS_MODULE where needed 2011-10-31 19:31:25 -04:00
wa-xfer.c USB: wusbcore/wa-xfer: error handling fixes in setup_segs() 2013-02-06 11:38:14 -08:00
wusbhc.c
wusbhc.h Fix common misspellings 2011-03-31 11:26:23 -03:00