From 44e6170a66e3c0a5e6dbc81464218f5cd15cd407 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 19 Jul 1994 23:23:27 +0000 Subject: Formerly fsys-getroot.c.~14~ --- libtrivfs/fsys-getroot.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libtrivfs/fsys-getroot.c b/libtrivfs/fsys-getroot.c index 789a2068..1ae72458 100644 --- a/libtrivfs/fsys-getroot.c +++ b/libtrivfs/fsys-getroot.c @@ -38,6 +38,7 @@ kern_return_t trivfs_S_fsys_getroot (struct trivfs_control *cntl, mach_port_t reply_port, mach_msg_type_name_t reply_port_type, + mach_port_t dotdot, uid_t *uids, u_int nuids, uid_t *gids, u_int ngids, int flags, @@ -131,6 +132,7 @@ trivfs_S_fsys_getroot (struct trivfs_control *cntl, cntl->openstail = pendo; ports_done_with_port (cntl); + mach_port_deallocate (mach_task_self (), dotdot); return MIG_NO_REPLY; } else @@ -139,6 +141,7 @@ trivfs_S_fsys_getroot (struct trivfs_control *cntl, *retry_name = '\0'; *newpt = ports_get_right (cred); *newpttype = MACH_MSG_TYPE_MAKE_SEND; + mach_port_deallocate (mach_task_self (), dotdot); return 0; } } -- cgit v1.2.3