diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-07-21 21:04:48 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-07-21 21:04:48 +0000 |
commit | 57b44cb62bea27908f4f50ba3cbdbc110f7f502e (patch) | |
tree | c626d39ddf555c1c5ef1c7c6dfc2458f761ad14f /libtrivfs | |
parent | 48686b08870b88e9e80ba52dd17e26e9b47d7d86 (diff) |
(trivfs_S_io_reauthenticate): Free initial reference created by
ports_allocate_port.
Diffstat (limited to 'libtrivfs')
-rw-r--r-- | libtrivfs/io-reauthenticate.c | 4 |
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; } |