]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/exit.c
relay: fix splice problem
[linux-2.6-omap-h63xx.git] / kernel / exit.c
index 97f609f574b1843556a6a07fc4c6c50180725b31..2a9d98c641ac4926eafc8a06312625fbd6218080 100644 (file)
@@ -967,7 +967,7 @@ NORET_TYPE void do_exit(long code)
        proc_exit_connector(tsk);
        exit_notify(tsk, group_dead);
 #ifdef CONFIG_NUMA
-       mpol_free(tsk->mempolicy);
+       mpol_put(tsk->mempolicy);
        tsk->mempolicy = NULL;
 #endif
 #ifdef CONFIG_FUTEX