mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 08:39:37 -05:00
ITS#8303 Fixed an assertion error during test022
The error was introduced with
commit 6cafdfa8d8
This commit is contained in:
parent
4d3a54835c
commit
26f88817f6
1 changed files with 1 additions and 16 deletions
|
|
@ -255,21 +255,6 @@ over_back_response ( Operation *op, SlapReply *rs )
|
|||
return rc;
|
||||
}
|
||||
|
||||
static int
|
||||
over_back_response_cleanup(Operation *op, SlapReply *rs)
|
||||
{
|
||||
if (rs->sr_type == REP_RESULT) {
|
||||
if (op->o_callback != NULL) {
|
||||
slap_callback *sc = op->o_callback;
|
||||
op->o_callback = sc->sc_next;
|
||||
|
||||
free( sc );
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int
|
||||
over_access_allowed(
|
||||
Operation *op,
|
||||
|
|
@ -758,7 +743,7 @@ over_op_func(
|
|||
db.be_flags |= SLAP_DBFLAG_OVERLAY;
|
||||
op->o_bd = &db;
|
||||
}
|
||||
cb->sc_cleanup = over_back_response_cleanup;
|
||||
cb->sc_cleanup = NULL;
|
||||
cb->sc_response = over_back_response;
|
||||
cb->sc_writewait = NULL;
|
||||
cb->sc_next = op->o_callback;
|
||||
|
|
|
|||
Loading…
Reference in a new issue