Give an minor_status argument to gss_release_oid_set.
From Rafa? Malinowski git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20753 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -42,6 +42,7 @@ OM_uint32 _gsskrb5_release_cred
|
|||||||
{
|
{
|
||||||
krb5_context context;
|
krb5_context context;
|
||||||
gsskrb5_cred cred;
|
gsskrb5_cred cred;
|
||||||
|
OM_uint32 junk;
|
||||||
|
|
||||||
*minor_status = 0;
|
*minor_status = 0;
|
||||||
|
|
||||||
@@ -67,7 +68,7 @@ OM_uint32 _gsskrb5_release_cred
|
|||||||
else
|
else
|
||||||
krb5_cc_close(context, cred->ccache);
|
krb5_cc_close(context, cred->ccache);
|
||||||
}
|
}
|
||||||
gss_release_oid_set(NULL, &cred->mechanisms);
|
gss_release_oid_set(&junk, &cred->mechanisms);
|
||||||
if (cred->enctypes)
|
if (cred->enctypes)
|
||||||
free(cred->enctypes);
|
free(cred->enctypes);
|
||||||
HEIMDAL_MUTEX_unlock(&cred->cred_id_mutex);
|
HEIMDAL_MUTEX_unlock(&cred->cred_id_mutex);
|
||||||
|
Reference in New Issue
Block a user