From: Jong Hyuk Choi Date: Thu, 2 Sep 2004 18:12:37 +0000 (+0000) Subject: added avl_free() at the end of do_syncrep2() X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~580 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=899848181d9036c6faceb8fb2ca55ea92dc6364b;p=openldap added avl_free() at the end of do_syncrep2() --- 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 ) {