Thread (2 messages) flat view 2 messages, 2 authors, 2020-11-14

Re: [PATCH] can: ti_hecc: Fix memleak in ti_hecc_probe

From: Marc Kleine-Budde <mkl@pengutronix.de>
Date: 2020-11-14 16:46:10
Also in: linux-can

On 11/14/20 12:17 PM, Zhang Qilong wrote:
In the error handling, we should goto the probe_exit_candev
to free ndev to prevent memory leak.

Fixes: dabf54dd1c63 ("can: ti_hecc: Convert TI HECC driver to DT only driver")
Signed-off-by: Zhang Qilong <redacted>
Added to linux-can/testing.

Tnx,
Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde           |
Embedded Linux                   | https://www.pengutronix.de  |
Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |

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