git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcb30e6
)
can: pcan_usb_core: fix memory leak on failure paths in peak_usb_start()
author
Alexey Khoroshilov
<khoroshilov@ispras.ru>
Wed, 4 Sep 2013 21:46:09 +0000
(
01:46
+0400)
committer
Marc Kleine-Budde
<mkl@pengutronix.de>
Fri, 20 Sep 2013 18:58:21 +0000
(20:58 +0200)
Tx and rx urbs are not deallocated if something goes wrong in peak_usb_start().
The patch fixes error handling to deallocate all the resources.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Acked-by: Stephane Grosjean <s.grosjean@peak-system.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
No differences found