diff options
Diffstat (limited to 'ipc/msg.c')
-rw-r--r-- | ipc/msg.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -52,7 +52,7 @@ struct msg_receiver { | |||
52 | long r_msgtype; | 52 | long r_msgtype; |
53 | long r_maxsize; | 53 | long r_maxsize; |
54 | 54 | ||
55 | volatile struct msg_msg *r_msg; | 55 | struct msg_msg *volatile r_msg; |
56 | }; | 56 | }; |
57 | 57 | ||
58 | /* one msg_sender for each sleeping sender */ | 58 | /* one msg_sender for each sleeping sender */ |
@@ -124,6 +124,7 @@ void msg_exit_ns(struct ipc_namespace *ns) | |||
124 | } | 124 | } |
125 | mutex_unlock(&msg_ids(ns).mutex); | 125 | mutex_unlock(&msg_ids(ns).mutex); |
126 | 126 | ||
127 | ipc_fini_ids(ns->ids[IPC_MSG_IDS]); | ||
127 | kfree(ns->ids[IPC_MSG_IDS]); | 128 | kfree(ns->ids[IPC_MSG_IDS]); |
128 | ns->ids[IPC_MSG_IDS] = NULL; | 129 | ns->ids[IPC_MSG_IDS] = NULL; |
129 | } | 130 | } |