ITS#8752 ppolicy: don't call same cleanup twice

fallout from b0ad788b8a
This commit is contained in:
Howard Chu 2017-10-13 17:39:37 +01:00
parent 0d7489b908
commit 1c963f4739

View File

@ -940,6 +940,7 @@ ppolicy_ctrls_cleanup( Operation *op, SlapReply *rs )
if ( ppb->send_ctrl ) {
ctrls_cleanup( op, rs, ppb->oldctrls );
}
op->o_callback->sc_cleanup = NULL;
return SLAP_CB_CONTINUE;
}