linux/drivers/net/can/usb
Alexey Khoroshilov f37d6e701f 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>
2013-09-20 20:58:21 +02:00
..
peak_usb can: pcan_usb_core: fix memory leak on failure paths in peak_usb_start() 2013-09-20 20:58:21 +02:00
ems_usb.c
esd_usb2.c net: can: esd_usb2: check index of array before accessing 2013-07-19 14:55:13 +02:00
Kconfig
kvaser_usb.c net: can: kvaser_usb: fix reception on "USBcan Pro" and "USBcan R" type hardware. 2013-06-03 14:02:56 +02:00
Makefile
usb_8dev.c can: usb_8dev: fix urb leak on failure path in usb_8dev_start() 2013-07-19 14:55:14 +02:00