summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libtrivfs/io-reauthenticate.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libtrivfs/io-reauthenticate.c b/libtrivfs/io-reauthenticate.c
index c546f8aa..9581720f 100644
--- a/libtrivfs/io-reauthenticate.c
+++ b/libtrivfs/io-reauthenticate.c
@@ -105,6 +105,8 @@ trivfs_S_io_reauthenticate (struct trivfs_protid *cred,
if (agbuf != aux_gids)
vm_deallocate (mach_task_self (), (u_int) aux_gids,
auxgidlen * sizeof (uid_t));
-
+
+
+ ports_port_deref (newcred);
return 0;
}