From 899848181d9036c6faceb8fb2ca55ea92dc6364b Mon Sep 17 00:00:00 2001 From: Jong Hyuk Choi Date: Thu, 2 Sep 2004 18:12:37 +0000 Subject: [PATCH] added avl_free() at the end of do_syncrep2() --- servers/slapd/syncrepl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index 91a57feba7..abd37f4d61 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -821,6 +821,9 @@ done: slap_sync_cookie_free( &syncCookie, 0 ); slap_sync_cookie_free( &syncCookie_req, 0 ); + avl_free( si->si_presentlist, avl_ber_bvfree ); + si->si_presentlist = NULL; + if ( res ) ldap_msgfree( res ); if ( rc && si->si_ld ) { -- 2.39.5