diff options
Diffstat (limited to 'ipc/sem.c')
-rw-r--r-- | ipc/sem.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -161,6 +161,7 @@ void sem_exit_ns(struct ipc_namespace *ns) | |||
161 | } | 161 | } |
162 | mutex_unlock(&sem_ids(ns).mutex); | 162 | mutex_unlock(&sem_ids(ns).mutex); |
163 | 163 | ||
164 | ipc_fini_ids(ns->ids[IPC_SEM_IDS]); | ||
164 | kfree(ns->ids[IPC_SEM_IDS]); | 165 | kfree(ns->ids[IPC_SEM_IDS]); |
165 | ns->ids[IPC_SEM_IDS] = NULL; | 166 | ns->ids[IPC_SEM_IDS] = NULL; |
166 | } | 167 | } |