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
crypto.c
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
pal.c
reservation.c
rh.c
security.c
wa-hc.c
wa-hc.h
wa-nep.c
wa-rpipe.c
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