------------------------------------------------------------------------
r25323 | ghudson | 2011-10-07 18:17:06 -0400 (Fri, 07 Oct 2011) | 8 lines
ticket: 6972
target_version: 1.9.2
tags: pullup
Fix a memory leak in make_gss_checksum.
From greg.mcclement@sap.com.
ticket: 6972
version_fixed: 1.9.2
status: resolved
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-9@25383
dc483132-0cff-0310-8789-
dd5450dbe970
/* Turn KRB5_AUTH_CONTEXT_DO_TIME back on and reset the send subkey. */
krb5_auth_con_setflags(context, auth_context, con_flags);
krb5_auth_con_setsendsubkey_k(context, auth_context, send_subkey);
+ krb5_k_free_key(context, send_subkey);
if (code) {
/* don't fail here; just don't accept/do the delegation