aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/exit.c')
-rw-r--r--kernel/exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c
index 97f609f574b1..2a9d98c641ac 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -967,7 +967,7 @@ NORET_TYPE void do_exit(long code)
967 proc_exit_connector(tsk); 967 proc_exit_connector(tsk);
968 exit_notify(tsk, group_dead); 968 exit_notify(tsk, group_dead);
969#ifdef CONFIG_NUMA 969#ifdef CONFIG_NUMA
970 mpol_free(tsk->mempolicy); 970 mpol_put(tsk->mempolicy);
971 tsk->mempolicy = NULL; 971 tsk->mempolicy = NULL;
972#endif 972#endif
973#ifdef CONFIG_FUTEX 973#ifdef CONFIG_FUTEX