Re: [PATCH] can: pcan_usb_core: fix memory leak on failure pathsin peak_usb_start()

From: Marc Kleine-Budde
Date: Fri Sep 06 2013 - 02:56:29 EST


On 09/06/2013 08:52 AM, Stephane Grosjean wrote:
> 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@xxxxxxxxx>
> Acked-by: Stephane Grosjean <s.grosjean@xxxxxxxxxxxxxxx>

Tnx,
Marc

BTW: A simply reply to the original patch with your Acked-by is sufficient.

--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |

Attachment: signature.asc
Description: OpenPGP digital signature