umber-kernel/drivers/net/wwan/iosm
Zilin Guan 8181c79757 net: wwan: iosm: Fix memory leak in ipc_mux_deinit()
[ Upstream commit 92e6e0a87f6860a4710f9494f8c704d498ae60f8 ]

Commit 1f52d7b622 ("net: wwan: iosm: Enable M.2 7360 WWAN card support")
allocated memory for pp_qlt in ipc_mux_init() but did not free it in
ipc_mux_deinit(). This results in a memory leak when the driver is
unloaded.

Free the allocated memory in ipc_mux_deinit() to fix the leak.

Fixes: 1f52d7b622 ("net: wwan: iosm: Enable M.2 7360 WWAN card support")
Co-developed-by: Jianhao Xu <jianhao.xu@seu.edu.cn>
Signed-off-by: Jianhao Xu <jianhao.xu@seu.edu.cn>
Signed-off-by: Zilin Guan <zilin@seu.edu.cn>
Reviewed-by: Loic Poulain <loic.poulain@oss.qualcomm.com>
Link: https://patch.msgid.link/20251230071853.1062223-1-zilin@seu.edu.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-01-17 16:35:24 +01:00
..
Makefile
iosm_ipc_chnl_cfg.c
iosm_ipc_chnl_cfg.h
iosm_ipc_coredump.c
iosm_ipc_coredump.h
iosm_ipc_debugfs.c
iosm_ipc_debugfs.h
iosm_ipc_devlink.c
iosm_ipc_devlink.h
iosm_ipc_flash.c
iosm_ipc_flash.h
iosm_ipc_imem.c
iosm_ipc_imem.h
iosm_ipc_imem_ops.c
iosm_ipc_imem_ops.h
iosm_ipc_irq.c
iosm_ipc_irq.h
iosm_ipc_mmio.c
iosm_ipc_mmio.h
iosm_ipc_mux.c
iosm_ipc_mux.h
iosm_ipc_mux_codec.c
iosm_ipc_mux_codec.h
iosm_ipc_pcie.c
iosm_ipc_pcie.h
iosm_ipc_pm.c
iosm_ipc_pm.h
iosm_ipc_port.c
iosm_ipc_port.h
iosm_ipc_protocol.c
iosm_ipc_protocol.h
iosm_ipc_protocol_ops.c
iosm_ipc_protocol_ops.h
iosm_ipc_task_queue.c
iosm_ipc_task_queue.h
iosm_ipc_trace.c
iosm_ipc_trace.h
iosm_ipc_uevent.c
iosm_ipc_uevent.h
iosm_ipc_wwan.c
iosm_ipc_wwan.h