diff options
| author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2013-09-05 01:46:09 +0400 |
|---|---|---|
| committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2013-09-20 20:58:21 +0200 |
| commit | f37d6e701f2a3a04e66690397340a6417f6e053f (patch) | |
| tree | 39f29ad50fc76d1384ccf71859035084aa983c6a /scripts/stackusage | |
| parent | Merge tag 'arm64-stable' of git://git.kernel.org/pub/scm/linux/kernel/git/cma... (diff) | |
| download | linux-f37d6e701f2a3a04e66690397340a6417f6e053f.tar.gz linux-f37d6e701f2a3a04e66690397340a6417f6e053f.zip | |
can: pcan_usb_core: fix memory leak on failure paths in peak_usb_start()
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>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
