aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fork.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fork.c')
-rw-r--r--kernel/fork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index c674aa8d3c31..1a5ae2084574 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -1374,7 +1374,7 @@ bad_fork_cleanup_security:
1374 security_task_free(p); 1374 security_task_free(p);
1375bad_fork_cleanup_policy: 1375bad_fork_cleanup_policy:
1376#ifdef CONFIG_NUMA 1376#ifdef CONFIG_NUMA
1377 mpol_free(p->mempolicy); 1377 mpol_put(p->mempolicy);
1378bad_fork_cleanup_cgroup: 1378bad_fork_cleanup_cgroup:
1379#endif 1379#endif
1380 cgroup_exit(p, cgroup_callbacks_done); 1380 cgroup_exit(p, cgroup_callbacks_done);