mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
ITS#9007 don't free loose writemap pages
Broken in ITS#8756
This commit is contained in:
parent
f8505b10ed
commit
8d93fe0718
1 changed files with 1 additions and 1 deletions
|
|
@ -3109,9 +3109,9 @@ mdb_freelist_save(MDB_txn *txn)
|
||||||
} else {
|
} else {
|
||||||
x = mdb_mid2l_search(dl, mp->mp_pgno);
|
x = mdb_mid2l_search(dl, mp->mp_pgno);
|
||||||
mdb_tassert(txn, dl[x].mid == mp->mp_pgno);
|
mdb_tassert(txn, dl[x].mid == mp->mp_pgno);
|
||||||
|
mdb_dpage_free(env, mp);
|
||||||
}
|
}
|
||||||
dl[x].mptr = NULL;
|
dl[x].mptr = NULL;
|
||||||
mdb_dpage_free(env, mp);
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
/* squash freed slots out of the dirty list */
|
/* squash freed slots out of the dirty list */
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue