mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 18:18:06 -05:00
Import ITS#3160 fix from HEAD
This commit is contained in:
parent
e7d6343532
commit
8e426aa957
2 changed files with 2 additions and 0 deletions
|
|
@ -100,6 +100,7 @@ do_abandon(
|
|||
LDAP_STAILQ_FOREACH( o, &conn->c_pending_ops, o_next ) {
|
||||
if ( o->o_msgid == id ) {
|
||||
LDAP_STAILQ_REMOVE( &conn->c_pending_ops, o, slap_op, o_next );
|
||||
conn->c_n_ops_pending--;
|
||||
slap_op_free( o );
|
||||
goto done;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -69,6 +69,7 @@ int cancel_extop(
|
|||
LDAP_STAILQ_FOREACH( op, &conn->c_pending_ops, o_next ) {
|
||||
if ( op->o_msgid == opid ) {
|
||||
LDAP_STAILQ_REMOVE( &conn->c_pending_ops, op, slap_op, o_next );
|
||||
conn->c_n_ops_pending--;
|
||||
slap_op_free( op );
|
||||
found = 1;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue