From a0c00811ee922717cff52ed87cdf541947f7cdc4 Mon Sep 17 00:00:00 2001
From: Tom Yu <tlyu@mit.edu>
Date: Tue, 1 Aug 2006 21:09:43 +0000
Subject: [PATCH] 	* src/lib/gssapi/mechglue/g_initialize.c
 (gss_release_oid): Call 	gssint_initialize_library to ensure mutex is
 initialized.

ticket: 4088
status: open

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18397 dc483132-0cff-0310-8789-dd5450dbe970
---
 src/lib/gssapi/mechglue/g_initialize.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/lib/gssapi/mechglue/g_initialize.c b/src/lib/gssapi/mechglue/g_initialize.c
index 89134a6cd..54da8d4df 100644
--- a/src/lib/gssapi/mechglue/g_initialize.c
+++ b/src/lib/gssapi/mechglue/g_initialize.c
@@ -89,6 +89,9 @@ gss_OID *oid;
 	OM_uint32 major;
 	gss_mech_info aMech;
 
+	if (gssint_initialize_library())
+		return GSS_S_FAILURE;
+
 	if (minor_status == NULL)
 		return (GSS_S_CALL_INACCESSIBLE_WRITE);
 
-- 
2.26.2