[ldv-project] [PATCH] can: pcan_usb_core: fix memory leak on failure paths in peak_usb_start()
Marc Kleine-Budde
mkl at pengutronix.de
Fri Sep 6 10:56:14 MSK 2013
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 at ispras.ru>
> Acked-by: Stephane Grosjean <s.grosjean at peak-system.com>
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 |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://linuxtesting.org/pipermail/ldv-project/attachments/20130906/95f40e77/attachment.pgp>
More information about the ldv-project
mailing list