]> git.sur5r.net Git - openldap/commitdiff
ITS#7928 fix syncprov abandon cleanup
authorHoward Chu <hyc@openldap.org>
Fri, 29 Aug 2014 01:19:35 +0000 (02:19 +0100)
committerHoward Chu <hyc@openldap.org>
Fri, 29 Aug 2014 01:19:35 +0000 (02:19 +0100)
servers/slapd/overlays/syncprov.c

index e7bddebcee8736e55e72e8f18a585374f731e7c4..5ef2eaae896ba1d1e3db6ea794c042ac40e4903b 100644 (file)
@@ -1114,7 +1114,7 @@ syncprov_ab_cleanup( Operation *op, SlapReply *rs )
 {
        slap_callback *sc = op->o_callback;
        op->o_callback = sc->sc_next;
-       syncprov_drop_psearch( op->o_callback->sc_private, 0 );
+       syncprov_drop_psearch( sc->sc_private, 0 );
        op->o_tmpfree( sc, op->o_tmpmemctx );
        return 0;
 }