diff --git a/lib/gssapi/spnego/context_storage.c b/lib/gssapi/spnego/context_storage.c index 80e03060b..914f7546e 100644 --- a/lib/gssapi/spnego/context_storage.c +++ b/lib/gssapi/spnego/context_storage.c @@ -436,6 +436,7 @@ store_negoex_auth_mech(krb5_storage *sp, struct negoex_auth_mech *mech) CHECK(major, gss_export_sec_context(&minor, &mech->mech_context, &buf)); CHECK(ret, store_gss_buffer(sp, &buf)); + gss_release_buffer(&minor, &buf); } if (snc_flags & SNC_METADATA)