mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
re-fix previous commit
This commit is contained in:
parent
3d13b08a44
commit
666e0677ca
@ -131,7 +131,7 @@ retry_lock:;
|
||||
assert( lc->lc_refcnt == 1 );
|
||||
tmplc = avl_delete( &li->li_conninfo.lai_tree, (caddr_t)lc,
|
||||
ldap_back_conndnlc_cmp );
|
||||
assert( lc == tmplc );
|
||||
assert( tmplc == NULL || lc == tmplc );
|
||||
|
||||
if ( LDAP_BACK_CONN_ISBOUND( lc ) ) {
|
||||
ber_bvreplace( &lc->lc_local_ndn, &op->o_req_ndn );
|
||||
@ -749,7 +749,8 @@ ldap_back_release_conn_lock(
|
||||
}
|
||||
assert( lc->lc_refcnt > 0 );
|
||||
LDAP_BACK_CONN_BINDING_CLEAR( lc );
|
||||
if ( --lc->lc_refcnt == 0 || LDAP_BACK_CONN_TAINTED( lc ) ) {
|
||||
lc->lc_refcnt--;
|
||||
if ( LDAP_BACK_CONN_TAINTED( lc ) ) {
|
||||
ldap_back_freeconn( op, lc, 0 );
|
||||
}
|
||||
if ( dolock ) {
|
||||
|
Loading…
Reference in New Issue
Block a user