diff options
| author | Pete Zaitcev <zaitcev@redhat.com> | 2007-02-03 10:13:14 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-02-17 02:32:18 +0300 |
| commit | af59cf404fc7ad6cc642de9e78252fb264917611 (patch) | |
| tree | 0c70ca5d995fb1814fffd02ec9a5adb0b6e246d1 /include/linux | |
| parent | 23004e241ccc03678592a8b392573e8514ec962f (diff) | |
| download | linux-af59cf404fc7ad6cc642de9e78252fb264917611.tar.xz | |
USB: Fix error cleanup path in airprime
Fix up the error processing path: in usb_submit_urb failed, we forgot
to free buffers. Also, don't free buffers in read callback: less error
prone, 21 LOC less, no need to comment so much. N.B. write path is ok
to do kfree.
Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
