Messages in this thread | | | From | Aisheng Dong <> | Subject | RE: [PATCH -next] firmware: imx: scu: Fix possible memory leak in imx_scu_probe() | Date | Wed, 6 May 2020 11:02:57 +0000 |
| |
> From: Wei Yongjun <weiyongjun1@huawei.com> > 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@huawei.com>
Thanks for the fix. Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Regards Aisheng
| |