diff options
author | Thomas Pugliese <thomas.pugliese@gmail.com> | 2013-08-15 14:37:41 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-15 17:36:27 -0700 |
commit | 11b1bf81bf68cab0ad7d7d4d08dbfb236d5cbcaa (patch) | |
tree | 1125edc4b5686b73d74d276e2973d85c71b996b0 /crypto | |
parent | 6d33f7bb8c3863e54f8bdede0a2bf97a3585ac20 (diff) | |
download | linux-11b1bf81bf68cab0ad7d7d4d08dbfb236d5cbcaa.tar.gz linux-11b1bf81bf68cab0ad7d7d4d08dbfb236d5cbcaa.tar.bz2 linux-11b1bf81bf68cab0ad7d7d4d08dbfb236d5cbcaa.zip |
USB: WUSBCORE: fix resource cleanup in error path in __wa_xfer_setup_segs
Use usb_free_urb instead of kfree in error path and point to the correct
URB. Also remember to clean up the sg list for the URB if it was allocated.
Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions