Re: [PATCH: 3.11] usb_8dev: Fix memory leak in usb_8dev_start_xmit
From: Marc Kleine-Budde
Date: Mon Mar 24 2014 - 10:34:38 EST
On 03/24/2014 03:13 PM, Bjorn Van Tilt wrote:
> Fixed a memory leak when an error occurred in the transmit function.
> In the error handling the urb wasn't freed before returning. There was
> also a call to the usb_unanchor_urb() function but the urb wasn't
> anchored.
>
> Signed-off-by: Bjorn Van Tilt <bjorn.vantilt@xxxxxxxxx>
Applied to the can tree.
Tnx,
Marc
--
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