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,
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;