summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1998-12-30 06:51:34 +0000
committerRoland McGrath <roland@gnu.org>1998-12-30 06:51:34 +0000
commit5598cb8cd5b5dea2523c0a8ba03bd5b1619d180b (patch)
tree85f84634820d88ed71637f5865ad16d215229438
parent426351562d55a06e490fad6a87cd7d0106280ab6 (diff)
1998-12-27 Roland McGrath <roland@baalperazim.frob.com>
* main.c (S_exec_init): Deallocate PROCSERVER port when finished.
-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. */