mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-06 15:10:22 -05:00
ITS#9624 Make sure we reset only for Binds
This commit is contained in:
parent
7c17f06197
commit
71de64fac4
1 changed files with 2 additions and 1 deletions
|
|
@ -276,7 +276,8 @@ operation_unlink_client( LloadOperation *op, LloadConnection *client )
|
|||
assert( op == removed );
|
||||
client->c_n_ops_executing--;
|
||||
|
||||
if ( client->c_state == LLOAD_C_BINDING ) {
|
||||
if ( op->o_tag == LDAP_REQ_BIND &&
|
||||
client->c_state == LLOAD_C_BINDING ) {
|
||||
client->c_state = LLOAD_C_READY;
|
||||
if ( !BER_BVISNULL( &client->c_auth ) ) {
|
||||
ber_memfree( client->c_auth.bv_val );
|
||||
|
|
|
|||
Loading…
Reference in a new issue