don't free OID
authorLuke Howard <lukeh@padl.com>
Mon, 27 Sep 2010 12:25:21 +0000 (14:25 +0200)
committerLuke Howard <lukeh@padl.com>
Mon, 27 Sep 2010 12:25:21 +0000 (14:25 +0200)
plugins/gs2.c

index 99298c7..bfabc4b 100644 (file)
@@ -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);