Commit e1dfe6e9 authored by Rein Tollevik's avatar Rein Tollevik
Browse files

ITS#6707: Free the presentlist (if any) before connecting.

parent 7f381832
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment