Free list of limit enctypes if there is one.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20327 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -68,6 +68,8 @@ OM_uint32 _gsskrb5_release_cred
|
|||||||
krb5_cc_close(context, cred->ccache);
|
krb5_cc_close(context, cred->ccache);
|
||||||
}
|
}
|
||||||
_gsskrb5_release_oid_set(NULL, &cred->mechanisms);
|
_gsskrb5_release_oid_set(NULL, &cred->mechanisms);
|
||||||
|
if (cred->enctypes)
|
||||||
|
free(cred->enctypes);
|
||||||
HEIMDAL_MUTEX_unlock(&cred->cred_id_mutex);
|
HEIMDAL_MUTEX_unlock(&cred->cred_id_mutex);
|
||||||
HEIMDAL_MUTEX_destroy(&cred->cred_id_mutex);
|
HEIMDAL_MUTEX_destroy(&cred->cred_id_mutex);
|
||||||
memset(cred, 0, sizeof(*cred));
|
memset(cred, 0, sizeof(*cred));
|
||||||
|
Reference in New Issue
Block a user