aboutsummaryrefslogtreecommitdiff
path: root/drivers/android/binder_alloc.c
diff options
context:
space:
mode:
authorZhengchao Shao <[email protected]>2022-12-09 17:29:29 +0800
committerAndrew Morton <[email protected]>2022-12-11 19:30:20 -0800
commit12b677f2c697d61e5ddbcb6c1650050a39392f54 (patch)
treef59f8f4216ce68ed11564ac2cdba8566e357cfcd /drivers/android/binder_alloc.c
parent9f2b5debc07073e6dfdd774e3594d0224b991927 (diff)
ipc: fix memory leak in init_mqueue_fs()
When setup_mq_sysctls() failed in init_mqueue_fs(), mqueue_inode_cachep is not released. In order to fix this issue, the release path is reordered. Link: https://lkml.kernel.org/r/[email protected] Fixes: dc55e35f9e81 ("ipc: Store mqueue sysctls in the ipc namespace") Signed-off-by: Zhengchao Shao <[email protected]> Cc: Alexey Gladkov <[email protected]> Cc: "Eric W. Biederman" <[email protected]> Cc: Jingyu Wang <[email protected]> Cc: Muchun Song <[email protected]> Cc: Roman Gushchin <[email protected]> Cc: Waiman Long <[email protected]> Cc: Wei Yongjun <[email protected]> Cc: YueHaibing <[email protected]> Cc: Yu Zhe <[email protected]> Cc: Manfred Spraul <[email protected]> Cc: Davidlohr Bueso <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'drivers/android/binder_alloc.c')
0 files changed, 0 insertions, 0 deletions