diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index ac19c40c1e..6dd8ccbe24 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -2426,8 +2426,8 @@ syncrepl_del_nonpresent( sc->numcsns * sizeof(AttributeAssertion), op->o_tmpmemctx ); f = cf; f->f_choice = LDAP_FILTER_AND; - f->f_and = ++f; f->f_next = NULL; + f->f_and = ++f; of = f; for ( i=0; inumcsns; i++ ) { f = of;