added avl_free() at the end of do_syncrep2()

This commit is contained in:
Jong Hyuk Choi 2004-09-02 18:12:37 +00:00
parent 88e2771bca
commit 899848181d

View File

@ -821,6 +821,9 @@ done:
slap_sync_cookie_free( &syncCookie, 0 ); slap_sync_cookie_free( &syncCookie, 0 );
slap_sync_cookie_free( &syncCookie_req, 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 ( res ) ldap_msgfree( res );
if ( rc && si->si_ld ) { if ( rc && si->si_ld ) {