summaryrefslogtreecommitdiff
path: root/libfshelp/fetch-root.c
diff options
context:
space:
mode:
Diffstat (limited to 'libfshelp/fetch-root.c')
-rw-r--r--libfshelp/fetch-root.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libfshelp/fetch-root.c b/libfshelp/fetch-root.c
index 1ee6e2be..d69493ba 100644
--- a/libfshelp/fetch-root.c
+++ b/libfshelp/fetch-root.c
@@ -78,7 +78,7 @@ fshelp_fetch_root (struct transbox *box, void *cookie,
&gid, &argz, &argz_len);
if (err)
return err;
-
+
mutex_lock (&box->innerlock); /* cancellation point XXX */
mutex_unlock (box->lock);
@@ -144,7 +144,6 @@ fshelp_fetch_root (struct transbox *box, void *cookie,
}
while (err == MACH_SEND_INVALID_DEST || err == MIG_SERVER_DIED);
- mach_port_deallocate (mach_task_self (), dotdot);
return err;
}