summaryrefslogtreecommitdiff
path: root/src/auth_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/auth_unix.c')
-rw-r--r--src/auth_unix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/auth_unix.c b/src/auth_unix.c
index 5b8990f..4b9b13f 100644
--- a/src/auth_unix.c
+++ b/src/auth_unix.c
@@ -162,6 +162,7 @@ authunix_create(machname, uid, gid, len, aup_gids)
*/
auth->ah_cred = au->au_origcred;
marshal_new_auth(auth);
+ auth_get(auth); /* Reference for caller */
return (auth);
#ifndef _KERNEL
cleanup_authunix_create: