]> git.sur5r.net Git - openldap/commitdiff
added avl_free() at the end of do_syncrep2()
authorJong Hyuk Choi <jongchoi@openldap.org>
Thu, 2 Sep 2004 18:12:37 +0000 (18:12 +0000)
committerJong Hyuk Choi <jongchoi@openldap.org>
Thu, 2 Sep 2004 18:12:37 +0000 (18:12 +0000)
servers/slapd/syncrepl.c

index 91a57feba75ffa3c063e7e6298c93e9101c090e0..abd37f4d619126946d967a5f53f0542f30351fa3 100644 (file)
@@ -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 ) {