summaryrefslogtreecommitdiffstats
path: root/auth1.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-11-13 11:20:07 +1100
committerDamien Miller <djm@mindrot.org>2001-11-13 11:20:07 +1100
commit056ca1eb473e2d4bd9fa867feb26f94a36f5d877 (patch)
treeed162c48a684a6a9676bb94521ba6c0f21fe43ee /auth1.c
parent726273e129a1a450de9c839d4635871af23bfb5e (diff)
- (djm) Fix early (and double) free of remote user when using Kerberos.
Patch from Simon Wilkinson <simon@sxw.org.uk>
Diffstat (limited to 'auth1.c')
-rw-r--r--auth1.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/auth1.c b/auth1.c
index da2c23e5..6d40219b 100644
--- a/auth1.c
+++ b/auth1.c
@@ -140,7 +140,6 @@ do_authloop(Authctxt *authctxt)
snprintf(info, sizeof(info),
" tktuser %.100s",
client_user);
- xfree(client_user);
}
#endif /* KRB4 */
} else {
@@ -154,7 +153,6 @@ do_authloop(Authctxt *authctxt)
snprintf(info, sizeof(info),
" tktuser %.100s",
client_user);
- xfree(client_user);
}
#endif /* KRB5 */
}