[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200520011545.GI11739@dragon>
Date: Wed, 20 May 2020 09:15:54 +0800
From: Shawn Guo <shawnguo@...nel.org>
To: Wei Yongjun <weiyongjun1@...wei.com>
Cc: Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
NXP Linux Team <linux-imx@....com>,
Dong Aisheng <aisheng.dong@....com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH -next] firmware: imx: scu: Fix possible memory leak in
imx_scu_probe()
On Wed, May 06, 2020 at 05:14:10AM +0000, Wei Yongjun wrote:
> 'chan_name' is malloced in imx_scu_probe() and should be freed
> before leaving from the error handling cases, otherwise it will
> cause memory leak.
>
> Fixes: edbee095fafb ("firmware: imx: add SCU firmware driver support")
> Signed-off-by: Wei Yongjun <weiyongjun1@...wei.com>
Applied, thanks.
Powered by blists - more mailing lists