diff options
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/sem.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1250,6 +1250,7 @@ void exit_sem(struct task_struct *tsk) undo_list = tsk->sysvsem.undo_list; if (!undo_list) return; + tsk->sysvsem.undo_list = NULL; if (!atomic_dec_and_test(&undo_list->refcnt)) return; |