mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
make sure an invalid connection is always released as appropriate
This commit is contained in:
parent
aecfb85793
commit
14cbf4bc3e
@ -520,8 +520,9 @@ meta_back_retry(
|
|||||||
rc = meta_back_single_dobind( op, rs, mcp, candidate,
|
rc = meta_back_single_dobind( op, rs, mcp, candidate,
|
||||||
sendok, mt->mt_nretries, 0 );
|
sendok, mt->mt_nretries, 0 );
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
} else {
|
if ( rc != LDAP_SUCCESS ) {
|
||||||
meta_back_release_conn_lock( op, mc, 1, 0 );
|
meta_back_release_conn_lock( op, mc, 1, 0 );
|
||||||
*mcp = NULL;
|
*mcp = NULL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user