AVL delete upon shutdown (ITS#2367)

This commit is contained in:
Jong Hyuk Choi 2003-03-12 16:34:17 +00:00
parent bdf02dde71
commit 2e31af9ca1

View File

@ -446,6 +446,7 @@ bdb_db_close( BackendDB *be )
entry = bdb->bi_idl_lru_head; entry = bdb->bi_idl_lru_head;
while ( entry != NULL ) { while ( entry != NULL ) {
next_entry = entry->idl_lru_next; next_entry = entry->idl_lru_next;
avl_delete( &bdb->bi_idl_tree, (caddr_t) entry, bdb_idl_entry_cmp );
free( entry->idl ); free( entry->idl );
free( entry->kstr.bv_val ); free( entry->kstr.bv_val );
free( entry ); free( entry );