From 77c3a0da29ef7216102163f306e004e7087f0f01 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 21 Jul 1995 21:05:40 +0000 Subject: (trivfs_S_io_restrict_auth): Free initial reference created by ports_allocate_port. --- libtrivfs/io-restrict-auth.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libtrivfs') 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; } -- cgit v1.2.3