Thread (2 messages) flat view 2 messages, 2 authors, 2018-07-30

Re: [PATCH] can: ems_usb: Fix memory leak on ems_usb_disconnect

From: Marc Kleine-Budde <mkl@pengutronix.de>
Date: 2018-07-30 09:09:26
Also in: linux-can, lkml

On 07/27/2018 05:50 PM, Anton Vasilyev wrote:
ems_usb_probe() allocates memory for dev->tx_msg_buffer, but there
is no its deallocation in ems_usb_disconnect.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Anton Vasilyev <redacted>
Applied to linux-can.

Tnx,
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   |

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help