Messages in this thread | | | Date | Wed, 20 May 2020 09:15:54 +0800 | From | Shawn Guo <> | 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@huawei.com>
Applied, thanks.
| |