diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2014-10-11 00:31:07 +0400 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2014-12-14 19:23:57 +0300 |
commit | 923edc8735ff7ac9e16cc4a6bbcb7b9d87e03644 (patch) | |
tree | 5a3ff7774e8935159fee003f7fdb53d64327309a /arch | |
parent | 42cccc215d8778b7b1658c93b7d91c6949111a0c (diff) | |
download | linux-923edc8735ff7ac9e16cc4a6bbcb7b9d87e03644.tar.xz |
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 <khoroshilov@ispras.ru>
Acked-by: Matthias Fuchs <matthias.fuchs@esd.eu>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions