commit | 1997e19ab766d01d818fbb3e69057604f875b4d4 | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Sat Oct 11 00:31:07 2014 +0400 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Apr 05 10:20:58 2020 +0200 |
tree | f1baffee621d60369a8bc5fb607200e00268dfcb | |
parent | f7bb08bfedfbdfa38a00830ba9d6570fce9a883e [diff] |
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: Zefan Li <lizefan@huawei.com>