]> git.sur5r.net Git - openldap/commitdiff
More for presentlist (ITS#8042)
authorHoward Chu <hyc@openldap.org>
Sat, 31 Jan 2015 01:03:23 +0000 (01:03 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Fri, 6 Feb 2015 16:57:36 +0000 (10:57 -0600)
servers/slapd/syncrepl.c

index 2415515a3c8b17e921f9c28fd969cf5339c14b51..c492c58bdea429e93a3db6f9ee78eea147909727 100644 (file)
@@ -1176,7 +1176,7 @@ do_syncrep2(
                                {
                                        syncrepl_del_nonpresent( op, si, NULL,
                                                &syncCookie, m );
-                               } else {
+                               } else if ( si->si_presentlist ) {
                                        presentlist_free( si->si_presentlist );
                                        si->si_presentlist = NULL;
                                }