From: Kurt Zeilenga Date: Thu, 27 May 1999 02:16:39 +0000 (+0000) Subject: Lock (connections_mutex) should be acquired by caller. X-Git-Tag: OPENLDAP_REL_ENG_2_BP~513 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=77cc20be52e37b05d6059a60ee33f8d06f8c148d;p=openldap Lock (connections_mutex) should be acquired by caller. --- diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index 1ef66a06e1..e065530137 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -324,7 +324,6 @@ connection_destroy( Connection *c ) assert( c->c_conn_state != SLAP_C_INVALID ); assert( c->c_ops == NULL ); - ldap_pvt_thread_mutex_lock( &connections_mutex ); c->c_struct_state = SLAP_C_UNUSED; c->c_conn_state = SLAP_C_INVALID; @@ -364,7 +363,6 @@ connection_destroy( Connection *c ) } ber_pvt_sb_destroy( c->c_sb ); - ldap_pvt_thread_mutex_unlock( &connections_mutex ); } int connection_state_closing( Connection *c )