* src/lib/gssapi/mechglue/g_initialize.c (gss_release_oid): Call
authorTom Yu <tlyu@mit.edu>
Tue, 1 Aug 2006 21:09:43 +0000 (21:09 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 1 Aug 2006 21:09:43 +0000 (21:09 +0000)
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

index 89134a6cd5dc80c34e329e76d2c7bee95dbe0004..54da8d4df1f6316b869c836d512cc39d2f68f98f 100644 (file)
@@ -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);