From: Bjorn Van Tilt Date: Mon, 24 Mar 2014 14:32:08 +0000 (+0100) Subject: can: usb_8dev: Fix memory leak in usb_8dev_start_xmit X-Git-Tag: v3.15-rc1~113^2~2^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=636d0375e7a850c95a0abc2c214295ce06cd2ab4;p=pandora-kernel.git 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 Signed-off-by: Marc Kleine-Budde --- Reading git-diff-tree failed