summaryrefslogtreecommitdiff
path: root/exec/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'exec/main.c')
-rw-r--r--exec/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/exec/main.c b/exec/main.c
index 1348e352..d52e8817 100644
--- a/exec/main.c
+++ b/exec/main.c
@@ -254,6 +254,7 @@ S_exec_init (struct trivfs_protid *protid,
err = proc_getmsgport (procserver, 1, &startup);
assert_perror (err);
+ mach_port_deallocate (mach_task_self (), procserver);
/* Call startup_essential task last; init assumes we are ready to
run once we call it. */