summaryrefslogtreecommitdiffstats
path: root/proxy/src/mechglue/gpp_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'proxy/src/mechglue/gpp_context.c')
-rw-r--r--proxy/src/mechglue/gpp_context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/proxy/src/mechglue/gpp_context.c b/proxy/src/mechglue/gpp_context.c
index 448c3e0..914edc8 100644
--- a/proxy/src/mechglue/gpp_context.c
+++ b/proxy/src/mechglue/gpp_context.c
@@ -266,6 +266,8 @@ done:
if (maj == GSS_S_COMPLETE) {
if (mech_type) {
*mech_type = mech_oid;
+ } else {
+ (void)gss_release_oid(&min, &mech_oid);
}
if (src_name) {
*src_name = (gss_name_t)s_name;