mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-29 19:19:35 -05:00
Lock (connections_mutex) should be acquired by caller.
This commit is contained in:
parent
b458560a9e
commit
77cc20be52
1 changed files with 0 additions and 2 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Reference in a new issue