From 8bb79551710f331931d7cafc58d51bb4f823f33e Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Mon, 27 Sep 2010 14:25:21 +0200 Subject: [PATCH] don't free OID --- plugins/gs2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/gs2.c b/plugins/gs2.c index 99298c7..bfabc4b 100644 --- a/plugins/gs2.c +++ b/plugins/gs2.c @@ -245,10 +245,12 @@ sasl_gs2_free_context_contents(context_t *text) text->authzid = NULL; } +#if 0 if (text->mechanism != NULL) { gss_release_oid(&min_stat, &text->mechanism); text->mechanism = GSS_C_NO_OID; } +#endif gss_release_buffer(&min_stat, &text->gss_cbindings.application_data); -- 2.1.4