diff options
Diffstat (limited to 'kernel/signal.c')
-rw-r--r-- | kernel/signal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/signal.c b/kernel/signal.c index dc8f91bf9f89..b0b1ca9daa33 100644 --- a/kernel/signal.c +++ b/kernel/signal.c | |||
@@ -330,7 +330,7 @@ void __exit_sighand(struct task_struct *tsk) | |||
330 | /* Ok, we're done with the signal handlers */ | 330 | /* Ok, we're done with the signal handlers */ |
331 | tsk->sighand = NULL; | 331 | tsk->sighand = NULL; |
332 | if (atomic_dec_and_test(&sighand->count)) | 332 | if (atomic_dec_and_test(&sighand->count)) |
333 | sighand_free(sighand); | 333 | kmem_cache_free(sighand_cachep, sighand); |
334 | } | 334 | } |
335 | 335 | ||
336 | void exit_sighand(struct task_struct *tsk) | 336 | void exit_sighand(struct task_struct *tsk) |