From 2e31af9ca1df96dbf1a97b2dbb4f15b512804bd8 Mon Sep 17 00:00:00 2001 From: Jong Hyuk Choi Date: Wed, 12 Mar 2003 16:34:17 +0000 Subject: [PATCH] AVL delete upon shutdown (ITS#2367) --- servers/slapd/back-bdb/init.c | 1 + 1 file changed, 1 insertion(+) 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 ); -- 2.39.5