Re: [PATCH -next] firmware: imx: scu: Fix possible memory leak in imx_scu_probe()

From: Shawn Guo
Date: Tue May 19 2020 - 21:16:01 EST


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@xxxxxxxxxx>

Applied, thanks.