mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
ITS#6707: Free the presentlist (if any) before connecting.
This commit is contained in:
parent
7f38183281
commit
e1dfe6e911
@ -1424,6 +1424,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;
|
||||
|
Loading…
Reference in New Issue
Block a user