freeing it to protect later attempts.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6920
dc483132-0cff-0310-8789-
dd5450dbe970
+Tue Sep 26 02:31:38 1995 Mark Eichin <eichin@cygnus.com>
+
+ * adm_conn.c (kadm_get_creds): zero out creds->server after
+ freeing it to protect later attempts.
+
Fri Sep 29 17:06:18 1995 Theodore Y. Ts'o <tytso@dcl>
* logger.c: #ifdef the entire file so it's not built under Windows.
cleanup:
if (kret) {
- if (creds->server)
+ if (creds->server) {
krb5_free_principal(kcontext, creds->server);
+ creds->server = 0;
+ }
}
if (my_addresses)
krb5_free_addresses(kcontext, my_addresses);