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
..
2011-03-31 11:26:23 -03:00
2012-10-22 11:33:34 -07:00
2010-10-22 10:22:07 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00