]> git.sur5r.net Git - openldap/commitdiff
AVL delete upon shutdown (ITS#2367)
authorJong Hyuk Choi <jongchoi@openldap.org>
Wed, 12 Mar 2003 16:34:17 +0000 (16:34 +0000)
committerJong Hyuk Choi <jongchoi@openldap.org>
Wed, 12 Mar 2003 16:34:17 +0000 (16:34 +0000)
servers/slapd/back-bdb/init.c

index d6e30bd6b6f881a773fd5d14a783df828b26a4a2..db9d00f914dfee8307b1504ae1943e8604550058 100644 (file)
@@ -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 );