diff options
| author | Abdun Nihaal <nihaal@cse.iitm.ac.in> | 2026-05-19 11:57:39 +0530 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-21 08:06:02 -0700 |
| commit | c5d93b2c40355e999715262a824965aac025a427 (patch) | |
| tree | b7dd32039fd2c9d11285e22e7b7565b4ca696851 /scripts/stackusage | |
| parent | 85fac50b58ca0e96dc8bfa649705cb901400877f (diff) | |
net: wwan: iosm: fix potential memory leaks in ipc_imem_init()
The memory allocated in ipc_protocol_init() is not freed on the error
paths that follow in ipc_imem_init(). Fix that by calling the
corresponding release function ipc_protocol_deinit() in the error path.
Fixes: 3670970dd8c6 ("net: iosm: shared memory IPC interface")
Cc: stable@vger.kernel.org
Signed-off-by: Abdun Nihaal <nihaal@cse.iitm.ac.in>
Link: https://patch.msgid.link/20260519062815.55545-1-nihaal@cse.iitm.ac.in
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
