From: Tom Yu Date: Fri, 31 Aug 2007 20:55:13 +0000 (+0000) Subject: pull up r19757 from trunk X-Git-Tag: krb5-1.6.3-beta1~29 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e4a6b9b9e096c24cb5931ebf75c889161141db94;p=krb5.git pull up r19757 from trunk r19757@cathode-dark-space: tlyu | 2007-08-07 16:13:11 -0400 ticket: 5629 version_reported: 1.6.1 target_version: 1.6.3 tags: pullup Release mechtok_out in spnego_gss_init_sec_context. Reported by Markus Moeller. ticket: 5629 version_fixed: 1.6.3 git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@19902 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/gssapi/spnego/spnego_mech.c b/src/lib/gssapi/spnego/spnego_mech.c index 427bdee56..f2716e665 100644 --- a/src/lib/gssapi/spnego/spnego_mech.c +++ b/src/lib/gssapi/spnego/spnego_mech.c @@ -835,6 +835,7 @@ cleanup: ret = GSS_S_FAILURE; } } + gss_release_buffer(tmpmin, &mechtok_out); if (ret == GSS_S_COMPLETE) { /* * Now, switch the output context to refer to the