linux/drivers/firmware/imx
Wei Yongjun ad7f78b7ce firmware: imx: scu: Fix possible memory leak in imx_scu_probe()
[ Upstream commit 89f12d6509 ]

'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: edbee095fa ("firmware: imx: add SCU firmware driver support")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-06-24 17:50:30 +02:00
..
imx-dsp.c firmware: imx: Remove call to devm_of_platform_populate 2020-01-26 10:01:05 +01:00
imx-scu-irq.c
imx-scu.c firmware: imx: scu: Fix possible memory leak in imx_scu_probe() 2020-06-24 17:50:30 +02:00
Kconfig firmware: imx: Add DSP IPC protocol interface 2019-08-12 15:19:25 +02:00
Makefile firmware: imx: Add DSP IPC protocol interface 2019-08-12 15:19:25 +02:00
misc.c firmware: imx: Align imx_sc_msg_req_cpu_start to 4 2020-03-12 13:00:28 +01:00
scu-pd.c firmware: imx: scu-pd: Align imx sc msg structs to 4 2020-03-12 13:00:28 +01:00