From: Tom Yu Date: Tue, 7 Aug 2007 20:13:11 +0000 (+0000) Subject: Release mechtok_out in spnego_gss_init_sec_context. X-Git-Tag: krb5-1.7-alpha1~973 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=783b1a0dfd476438df91c74d032631b7ef3b1f2a;p=krb5.git Release mechtok_out in spnego_gss_init_sec_context. Reported by Markus Moeller. ticket: 5629 version_reported: 1.6.1 target_version: 1.6.3 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19757 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/gssapi/spnego/spnego_mech.c b/src/lib/gssapi/spnego/spnego_mech.c index 0db0b5f92..347119b3d 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