mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-11 09:22:54 -05:00
make sure an invalid connection is always released as appropriate
This commit is contained in:
parent
aecfb85793
commit
14cbf4bc3e
1 changed files with 2 additions and 1 deletions
|
|
@ -520,8 +520,9 @@ meta_back_retry(
|
|||
rc = meta_back_single_dobind( op, rs, mcp, candidate,
|
||||
sendok, mt->mt_nretries, 0 );
|
||||
}
|
||||
}
|
||||
|
||||
} else {
|
||||
if ( rc != LDAP_SUCCESS ) {
|
||||
meta_back_release_conn_lock( op, mc, 1, 0 );
|
||||
*mcp = NULL;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue