Lock (connections_mutex) should be acquired by caller.

This commit is contained in:
Kurt Zeilenga 1999-05-27 02:16:39 +00:00
parent b458560a9e
commit 77cc20be52

View file

@ -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 )