(get_cred_cache): band-aid instead of rewriting
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6437 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -241,8 +241,10 @@ get_cred_cache(krb5_context context,
|
||||
if(client != default_client) {
|
||||
krb5_free_principal(context, default_client);
|
||||
default_client = NULL;
|
||||
krb5_cc_close(context, id);
|
||||
id = NULL;
|
||||
if (id != NULL) {
|
||||
krb5_cc_close(context, id);
|
||||
id = NULL;
|
||||
}
|
||||
}
|
||||
} else if(ccache != NULL)
|
||||
id = ccache;
|
||||
|
Reference in New Issue
Block a user