]> git.sur5r.net Git - openldap/commitdiff
ITS#8752 ppolicy: don't call same cleanup twice
authorHoward Chu <hyc@openldap.org>
Fri, 13 Oct 2017 16:39:37 +0000 (17:39 +0100)
committerHoward Chu <hyc@openldap.org>
Fri, 13 Oct 2017 16:39:37 +0000 (17:39 +0100)
fallout from b0ad788b8aaad7d5e75827dacd4bbba203ae69ff

servers/slapd/overlays/ppolicy.c

index e13c33a86629945f9d6e7f571356bfbbbcbf12f7..187feee886935b4bc636482468852fda826cc2d1 100644 (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;
 }