]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit, free fakeroot on teardown
authorHoward Chu <hyc@openldap.org>
Fri, 9 Feb 2007 17:30:23 +0000 (17:30 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 9 Feb 2007 17:30:23 +0000 (17:30 +0000)
servers/slapd/back-bdb/init.c

index 510197bcba400af23870560b85d0bbadb3aaf125..5d594bd115ad74c296632461371ad2853e2b415d 100644 (file)
@@ -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;