From 77cc20be52e37b05d6059a60ee33f8d06f8c148d Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 27 May 1999 02:16:39 +0000 Subject: [PATCH] Lock (connections_mutex) should be acquired by caller. --- servers/slapd/connection.c | 2 -- 1 file changed, 2 deletions(-) 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 ) -- 2.39.5