From: Howard Chu Date: Fri, 13 Oct 2017 16:39:37 +0000 (+0100) Subject: ITS#8752 ppolicy: don't call same cleanup twice X-Git-Url: https://git.sur5r.net/?p=openldap;a=commitdiff_plain;h=1c963f473945e9902c1682d917baa58002a9ab95 ITS#8752 ppolicy: don't call same cleanup twice fallout from b0ad788b8aaad7d5e75827dacd4bbba203ae69ff --- diff --git a/servers/slapd/overlays/ppolicy.c b/servers/slapd/overlays/ppolicy.c index e13c33a866..187feee886 100644 --- a/servers/slapd/overlays/ppolicy.c +++ b/servers/slapd/overlays/ppolicy.c @@ -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; }