RE: [PATCH -next] firmware: imx: scu: Fix possible memory leak in imx_scu_probe()
From: Aisheng Dong
Date: Wed May 06 2020 - 07:03:15 EST
> From: Wei Yongjun <weiyongjun1@xxxxxxxxxx>
> Sent: Wednesday, May 6, 2020 1:14 PM
>
> '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>
Thanks for the fix.
Reviewed-by: Dong Aisheng <aisheng.dong@xxxxxxx>
Regards
Aisheng