diff options
Diffstat (limited to 'ipc/shm.c')
-rw-r--r-- | ipc/shm.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -101,6 +101,7 @@ static void do_shm_rmid(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) | |||
101 | void shm_exit_ns(struct ipc_namespace *ns) | 101 | void shm_exit_ns(struct ipc_namespace *ns) |
102 | { | 102 | { |
103 | free_ipcs(ns, &shm_ids(ns), do_shm_rmid); | 103 | free_ipcs(ns, &shm_ids(ns), do_shm_rmid); |
104 | idr_destroy(&ns->ids[IPC_SHM_IDS].ipcs_idr); | ||
104 | } | 105 | } |
105 | #endif | 106 | #endif |
106 | 107 | ||