(_gss_spnego_delete_sec_context): don't release preferred_mech_type

and negotiated_mech_type, they where never allocated from the
begining.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17745 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-06-30 09:25:08 +00:00
parent 6e451eae2a
commit ba3568494e

View File

@@ -126,8 +126,8 @@ OM_uint32 _gss_spnego_delete_sec_context
_gss_spnego_release_cred(&minor, &ctx->delegated_cred_id);
gss_release_oid(&minor, &ctx->preferred_mech_type);
gss_release_oid(&minor, &ctx->negotiated_mech_type);
ctx->preferred_mech_type = GSS_C_NO_OID;
ctx->negotiated_mech_type = GSS_C_NO_OID;
gss_release_name(&minor, &ctx->mech_src_name);