diff options
Diffstat (limited to 'auth')
-rw-r--r-- | auth/auth.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/auth/auth.c b/auth/auth.c index 239b4fb3..2afeaf7a 100644 --- a/auth/auth.c +++ b/auth/auth.c @@ -436,10 +436,9 @@ S_auth_server_authenticate (struct authhandle *serverauth, user->egids.ids, user->egids.num, user->agids.ids, user->agids.num); - ports_port_deref (user); if (err) - return err; - + mach_port_deallocate (mach_task_self (), reply); + ports_port_deref (user); mach_port_deallocate (mach_task_self (), rendezvous); return MIG_NO_REPLY; } |