mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-09 16:34:45 -05:00
move c->c_n_ops_executing/completed to the right place
This commit is contained in:
parent
25e145f8c8
commit
4495320839
1 changed files with 2 additions and 3 deletions
|
|
@ -1079,9 +1079,6 @@ operations_error:
|
|||
|
||||
ldap_pvt_thread_mutex_lock( &conn->c_mutex );
|
||||
|
||||
conn->c_n_ops_executing--;
|
||||
conn->c_n_ops_completed++;
|
||||
|
||||
LDAP_STAILQ_REMOVE( &conn->c_ops, op, slap_op, o_next);
|
||||
LDAP_STAILQ_NEXT(op, o_next) = NULL;
|
||||
|
||||
|
|
@ -1094,6 +1091,8 @@ operations_error:
|
|||
|
||||
co_op_free:
|
||||
|
||||
conn->c_n_ops_executing--;
|
||||
conn->c_n_ops_completed++;
|
||||
memctx = NULL;
|
||||
ber_set_option( op->o_ber, LBER_OPT_BER_MEMCTX, &memctx );
|
||||
slap_op_free( op );
|
||||
|
|
|
|||
Loading…
Reference in a new issue