From: Quanah Gibson-Mount Date: Sun, 12 Dec 2010 04:52:18 +0000 (+0000) Subject: ITS#6707 X-Git-Tag: OPENLDAP_REL_ENG_2_4_24~242 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c696256ceb47cce2c5621877ade969a8d1470fc1;p=openldap ITS#6707 --- diff --git a/CHANGES b/CHANGES index 4be3525e07..27edc2a4ec 100644 --- a/CHANGES +++ b/CHANGES @@ -10,6 +10,7 @@ OpenLDAP 2.4.24 Engineering Fixed ldapsearch segfault with deref (ITS#6638) Fixed slapd acl parsing overflow (ITS#6611) Fixed slapd modify to return actual error (ITS#6581) + Fixed slapd syncrepl reuse of presence list (ITS#6707) Fixed slapd-bdb entry cache delete failure (ITS#6577) Fixed slapd-ndb to honor rootpw setting (ITS#6661) Fixed slapd-meta anon retry with failed auth method (ITS#6643) diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index 1a3e95e259..d3d5dcf579 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -1415,6 +1415,11 @@ do_syncrepl( si->si_refreshDelete = 0; si->si_refreshPresent = 0; + if ( si->si_presentlist ) { + avl_free( si->si_presentlist, ch_free ); + si->si_presentlist = NULL; + } + /* use main DB when retrieving contextCSN */ op->o_bd = si->si_wbe; op->o_dn = op->o_bd->be_rootdn;