Was dereferencing NULL freeing creds.
ticket: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20849
dc483132-0cff-0310-8789-
dd5450dbe970
}
if (principal ) { krb5_free_principal (credential->context, principal); }
+ if (free_creds) { krb5_free_cred_contents (credential->context, &creds); }
if (!err) {
*out_credential = credential;
}
if (options != in_options) { kim_options_free (&options); }
- if (free_creds) { krb5_free_cred_contents (credential->context, &creds); }
kim_credential_free (&credential);
return check_error (err);