From: Jong Hyuk Choi Date: Wed, 12 Mar 2003 16:34:17 +0000 (+0000) Subject: AVL delete upon shutdown (ITS#2367) X-Git-Tag: NO_SLAP_OP_BLOCKS~132 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2e31af9ca1df96dbf1a97b2dbb4f15b512804bd8;p=openldap AVL delete upon shutdown (ITS#2367) --- diff --git a/servers/slapd/back-bdb/init.c b/servers/slapd/back-bdb/init.c index d6e30bd6b6..db9d00f914 100644 --- a/servers/slapd/back-bdb/init.c +++ b/servers/slapd/back-bdb/init.c @@ -446,6 +446,7 @@ bdb_db_close( BackendDB *be ) entry = bdb->bi_idl_lru_head; while ( entry != NULL ) { next_entry = entry->idl_lru_next; + avl_delete( &bdb->bi_idl_tree, (caddr_t) entry, bdb_idl_entry_cmp ); free( entry->idl ); free( entry->kstr.bv_val ); free( entry );