From: Pierangelo Masarati Date: Mon, 22 Aug 2011 17:23:01 +0000 (-0600) Subject: release mutex only *after* backend connection initialization (ITS#6993) X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=415b8ec84b0fe967b8c2b746b66de2753951f104;p=openldap release mutex only *after* backend connection initialization (ITS#6993) --- diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index aea3b39191..130838ced8 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -571,9 +571,9 @@ Connection * connection_init( slap_sasl_external( c, ssf, authid ); slapd_add_internal( s, 1 ); - ldap_pvt_thread_mutex_unlock( &c->c_mutex ); backend_connection_init(c); + ldap_pvt_thread_mutex_unlock( &c->c_mutex ); return c; }