diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-07-21 21:05:40 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-07-21 21:05:40 +0000 |
commit | 77c3a0da29ef7216102163f306e004e7087f0f01 (patch) | |
tree | 6f725466b2589442752e20e8e022d31ad18a23ca /libtrivfs | |
parent | 57b44cb62bea27908f4f50ba3cbdbc110f7f502e (diff) |
(trivfs_S_io_restrict_auth): Free initial reference created by
ports_allocate_port.
Diffstat (limited to 'libtrivfs')
-rw-r--r-- | libtrivfs/io-restrict-auth.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libtrivfs/io-restrict-auth.c b/libtrivfs/io-restrict-auth.c index e29aca47..2ecb0808 100644 --- a/libtrivfs/io-restrict-auth.c +++ b/libtrivfs/io-restrict-auth.c @@ -90,5 +90,6 @@ trivfs_S_io_restrict_auth (struct trivfs_protid *cred, *newport = ports_get_right (newcred); *newporttype = MACH_MSG_TYPE_MAKE_SEND; + ports_port_deref (newcred); return 0; } |