summaryrefslogtreecommitdiff
path: root/src/auth_gss.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/auth_gss.c')
-rw-r--r--src/auth_gss.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/auth_gss.c b/src/auth_gss.c
index df3017a..98f0341 100644
--- a/src/auth_gss.c
+++ b/src/auth_gss.c
@@ -200,6 +200,8 @@ authgss_create(CLIENT *clnt, gss_name_t name, struct rpc_gss_sec *sec)
if (!authgss_refresh(auth))
auth = NULL;
+ else
+ auth_get(auth); /* Reference for caller */
clnt->cl_auth = save_auth;