diff options
| author | Zilin Guan <zilin@seu.edu.cn> | 2025-12-30 07:18:53 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-01-04 10:46:38 -0800 |
| commit | 92e6e0a87f6860a4710f9494f8c704d498ae60f8 (patch) | |
| tree | c0b6e9dfcaefa4bdc52506dd9a4a91da14c51be1 /scripts/git@git.tavy.me:linux.git | |
| parent | 8da901ffe497a53fa4ecc3ceed0e6d771586f88e (diff) | |
net: wwan: iosm: Fix memory leak in ipc_mux_deinit()
Commit 1f52d7b62285 ("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: 1f52d7b62285 ("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>
Diffstat (limited to 'scripts/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
