diff options
Diffstat (limited to 'kernel/fork.c')
-rw-r--r-- | kernel/fork.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 33ffb5bf0dbc..8a46ad52be8f 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -1208,7 +1208,8 @@ bad_fork_cleanup_mm: | |||
1208 | bad_fork_cleanup_signal: | 1208 | bad_fork_cleanup_signal: |
1209 | exit_signal(p); | 1209 | exit_signal(p); |
1210 | bad_fork_cleanup_sighand: | 1210 | bad_fork_cleanup_sighand: |
1211 | exit_sighand(p); | 1211 | if (p->sighand) |
1212 | __exit_sighand(p); | ||
1212 | bad_fork_cleanup_fs: | 1213 | bad_fork_cleanup_fs: |
1213 | exit_fs(p); /* blocking */ | 1214 | exit_fs(p); /* blocking */ |
1214 | bad_fork_cleanup_files: | 1215 | bad_fork_cleanup_files: |