summaryrefslogtreecommitdiff
path: root/trans/magic.c
diff options
context:
space:
mode:
Diffstat (limited to 'trans/magic.c')
-rw-r--r--trans/magic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/trans/magic.c b/trans/magic.c
index 733ce2d7..045033e8 100644
--- a/trans/magic.c
+++ b/trans/magic.c
@@ -53,6 +53,7 @@ main (int argc, char **argv)
mach_port_allocate (mach_task_self (), MACH_PORT_RIGHT_RECEIVE, &control);
err =
fsys_startup (bootstrap, 0, control, MACH_MSG_TYPE_MAKE_SEND, &realnode);
+ mach_port_deallocate (mach_task_self (), bootstrap);
if (err)
error (1, err, "starting translator");