diff options
-rw-r--r-- | libdiskfs/io-reauthenticate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/io-reauthenticate.c b/libdiskfs/io-reauthenticate.c index fd427e20..3c5da52d 100644 --- a/libdiskfs/io-reauthenticate.c +++ b/libdiskfs/io-reauthenticate.c @@ -53,9 +53,9 @@ diskfs_S_io_reauthenticate (struct protid *cred, { diskfs_finish_protid (newcred, user); iohelp_free_iouser (user); + mach_port_deallocate (mach_task_self (), rend_port); } - mach_port_deallocate (mach_task_self (), rend_port); mach_port_deallocate (mach_task_self (), newright); mutex_unlock (&cred->po->np->lock); |