diff options
author | Damien Miller <djm@mindrot.org> | 2001-11-13 11:20:07 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-11-13 11:20:07 +1100 |
commit | 056ca1eb473e2d4bd9fa867feb26f94a36f5d877 (patch) | |
tree | ed162c48a684a6a9676bb94521ba6c0f21fe43ee /auth1.c | |
parent | 726273e129a1a450de9c839d4635871af23bfb5e (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.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -140,7 +140,6 @@ do_authloop(Authctxt *authctxt) | |||
140 | snprintf(info, sizeof(info), | 140 | snprintf(info, sizeof(info), |
141 | " tktuser %.100s", | 141 | " tktuser %.100s", |
142 | client_user); | 142 | client_user); |
143 | xfree(client_user); | ||
144 | } | 143 | } |
145 | #endif /* KRB4 */ | 144 | #endif /* KRB4 */ |
146 | } else { | 145 | } else { |
@@ -154,7 +153,6 @@ do_authloop(Authctxt *authctxt) | |||
154 | snprintf(info, sizeof(info), | 153 | snprintf(info, sizeof(info), |
155 | " tktuser %.100s", | 154 | " tktuser %.100s", |
156 | client_user); | 155 | client_user); |
157 | xfree(client_user); | ||
158 | } | 156 | } |
159 | #endif /* KRB5 */ | 157 | #endif /* KRB5 */ |
160 | } | 158 | } |