diff --git a/kernel/fork.c b/kernel/fork.c index b6f2475f1e83a9f81e7b5ea6c003d8cb60f5a774..06724449596614c13d78495a26c53cf6f845658d 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -1317,7 +1317,7 @@ static struct task_struct *copy_process(unsigned long clone_flags, } bad_fork_cleanup_signal: if (!(clone_flags & CLONE_THREAD)) - free_signal_struct(p->signal); + put_signal_struct(p->signal); bad_fork_cleanup_sighand: __cleanup_sighand(p->sighand); bad_fork_cleanup_fs: