commit | 636d0375e7a850c95a0abc2c214295ce06cd2ab4 | [log] [tgz] |
---|---|---|
author | Bjorn Van Tilt <bjorn.vantilt@gmail.com> | Mon Mar 24 15:32:08 2014 +0100 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Tue Apr 01 11:54:55 2014 +0200 |
tree | b45e7d045ac4cf696d8bcc292ea79d568e6523e0 | |
parent | 17e84a9253467552fb06f99c009bb0bc1d7bfd39 [diff] |
can: usb_8dev: Fix memory leak in usb_8dev_start_xmit 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@gmail.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>