X-Git-Url: http://www.project-moonshot.org/gitweb/?p=moonshot.git;a=blobdiff_plain;f=moonshot%2Fmech_eap%2Futil_context.c;h=a7376d1530495d715f449b8fd1bf18bc68c38d85;hp=828e218607a04298985cf3b1bd910303b83743e8;hb=c1e974a83cd7d95d5740757cde94029065116202;hpb=32d72c1893b7d3e90c73dd2ce8bc8e99d30cc15d diff --git a/moonshot/mech_eap/util_context.c b/moonshot/mech_eap/util_context.c index 828e218..a7376d1 100644 --- a/moonshot/mech_eap/util_context.c +++ b/moonshot/mech_eap/util_context.c @@ -129,7 +129,7 @@ gssEapReleaseContext(OM_uint32 *minor, gssEapReleaseName(&tmpMinor, &ctx->acceptorName); gssEapReleaseOid(&tmpMinor, &ctx->mechanismUsed); sequenceFree(&tmpMinor, &ctx->seqState); - gssEapReleaseCred(&tmpMinor, &ctx->defaultCred); + gssEapReleaseCred(&tmpMinor, &ctx->cred); GSSEAP_MUTEX_DESTROY(&ctx->mutex);