mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
AVL delete upon shutdown (ITS#2367)
This commit is contained in:
parent
bdf02dde71
commit
2e31af9ca1
@ -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 );
|
||||||
|
Loading…
Reference in New Issue
Block a user