From: Howard Chu Date: Fri, 9 Feb 2007 17:30:23 +0000 (+0000) Subject: Fix prev commit, free fakeroot on teardown X-Git-Tag: OPENLDAP_REL_ENG_2_4_4ALPHA~8^2~38 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=94e7e3ba57626809c21f72b1c3811f3fa7410636;p=openldap Fix prev commit, free fakeroot on teardown --- diff --git a/servers/slapd/back-bdb/init.c b/servers/slapd/back-bdb/init.c index 510197bcba..5d594bd115 100644 --- a/servers/slapd/back-bdb/init.c +++ b/servers/slapd/back-bdb/init.c @@ -564,6 +564,8 @@ bdb_db_destroy( BackendDB *be ) ldap_pvt_thread_rdwr_destroy( &bdb->bi_idl_tree_rwlock ); ldap_pvt_thread_mutex_destroy( &bdb->bi_idl_tree_lrulock ); + entry_free( bdb->bi_cache.c_dntree.bei_e ); + ch_free( bdb ); be->be_private = NULL;