On 12/07/2013 12:10 AM, Alexey Khoroshilov wrote: > There are a couple failure paths where urb leaks. > Is spare code within ems_usb_start_xmit(), > usb_free_urb() should be used to deallocate urb instead of usb_unanchor_urb(). > In ems_usb_start() there is no usb_free_urb() if usb_submit_urb() fails. > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Alexey Khoroshilov <[email protected]>
Applied to the can-tree. Thx, 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 |
signature.asc
Description: OpenPGP digital signature

