From: Alexey Khoroshilov Date: Fri, 10 Oct 2014 20:31:07 +0000 (+0400) Subject: can: esd_usb2: fix memory leak on disconnect X-Git-Tag: v3.2.65~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=923edc8735ff7ac9e16cc4a6bbcb7b9d87e03644;p=pandora-kernel.git can: esd_usb2: fix memory leak on disconnect commit efbd50d2f62fc1f69a3dcd153e63ba28cc8eb27f upstream. It seems struct esd_usb2 dev is not deallocated on disconnect. The patch adds the missing deallocation. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov Acked-by: Matthias Fuchs Signed-off-by: Marc Kleine-Budde Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed