summaryrefslogtreecommitdiff
path: root/exec/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'exec/exec.c')
-rw-r--r--exec/exec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/exec/exec.c b/exec/exec.c
index daa8a24b..272b7899 100644
--- a/exec/exec.c
+++ b/exec/exec.c
@@ -1884,8 +1884,6 @@ do_exec (file_t file,
proc_reassign (proc, newtask);
mach_port_deallocate (mach_task_self (), proc);
}
-
- mach_port_deallocate (mach_task_self (), oldtask);
}
/* Make sure the proc server has the right idea of our identity. */