From 783b1a0dfd476438df91c74d032631b7ef3b1f2a Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Tue, 7 Aug 2007 20:13:11 +0000 Subject: [PATCH] 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 --- src/lib/gssapi/spnego/spnego_mech.c | 1 + 1 file changed, 1 insertion(+) 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 -- 2.26.2