[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1d07a3df-52d2-b565-6d63-0b26b0ef541b@pengutronix.de>
Date: Sat, 14 Nov 2020 17:45:28 +0100
From: Marc Kleine-Budde <mkl@...gutronix.de>
To: Zhang Qilong <zhangqilong3@...wei.com>, wg@...ndegger.com,
davem@...emloft.net, kuba@...nel.org
Cc: linux-can@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH] can: ti_hecc: Fix memleak in ti_hecc_probe
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 <zhangqilong3@...wei.com>
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 |
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists