r19007@cathode-dark-space: tlyu | 2006-12-21 20:19:55 -0500
ticket: 5123
* src/lib/krb5/krb/get_in_tkt.c (krb5_get_init_creds): Fix
ordering bug in previous patch.
ticket: 5123
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@19008
dc483132-0cff-0310-8789-
dd5450dbe970
/* No preauth supplied, so can't query the plug-ins. */
ret = KRB5KRB_ERR_GENERIC;
}
- krb5_free_error(context, err_reply);
- err_reply = NULL;
if (ret) {
/* couldn't come up with anything better */
ret = err_reply->error + ERROR_TABLE_BASE_krb5;
- goto cleanup;
}
+ krb5_free_error(context, err_reply);
+ err_reply = NULL;
+ if (ret)
+ goto cleanup;
}
if (encoded_previous_request != NULL) {