commit | af59cf404fc7ad6cc642de9e78252fb264917611 | [log] [tgz] |
---|---|---|
author | Pete Zaitcev <zaitcev@redhat.com> | Fri Feb 02 23:13:14 2007 -0800 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Feb 16 15:32:18 2007 -0800 |
tree | 0c70ca5d995fb1814fffd02ec9a5adb0b6e246d1 | |
parent | 23004e241ccc03678592a8b392573e8514ec962f [diff] |
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>