From 57b44cb62bea27908f4f50ba3cbdbc110f7f502e Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 21 Jul 1995 21:04:48 +0000 Subject: (trivfs_S_io_reauthenticate): Free initial reference created by ports_allocate_port. --- libtrivfs/io-reauthenticate.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3