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

2020-05-19 Thread Shawn Guo
On Wed, May 06, 2020 at 05:14:10AM +, 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") >

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

2020-05-06 Thread Aisheng Dong
> From: Wei Yongjun > 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") >

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

2020-05-05 Thread Wei Yongjun
'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 --- drivers/firmware/imx/imx-scu.c | 1 + 1 file