aboutsummaryrefslogtreecommitdiff
path: root/external/db_drivers/liblmdb/mdb.c
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-02-18 14:08:20 -0500
committerluigi1111 <luigi1111w@gmail.com>2021-02-18 14:08:20 -0500
commit1b11820187e32c9c539cbe14135e038eb1094c42 (patch)
tree4ade6e0cb3beee3f60429d1aa70c3f75d20c4bc0 /external/db_drivers/liblmdb/mdb.c
parentMerge pull request #7355 (diff)
parentITS#9007 don't free loose writemap pages (diff)
downloadmonero-1b11820187e32c9c539cbe14135e038eb1094c42.tar.xz
Merge pull request #7361
935bfaa ITS#9007 don't free loose writemap pages (Kris Zyp)
Diffstat (limited to 'external/db_drivers/liblmdb/mdb.c')
-rw-r--r--external/db_drivers/liblmdb/mdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/db_drivers/liblmdb/mdb.c b/external/db_drivers/liblmdb/mdb.c
index ba1315401..8699b445e 100644
--- a/external/db_drivers/liblmdb/mdb.c
+++ b/external/db_drivers/liblmdb/mdb.c
@@ -3461,9 +3461,9 @@ mdb_freelist_save(MDB_txn *txn)
} else {
x = mdb_mid2l_search(dl, mp->mp_pgno);
mdb_tassert(txn, dl[x].mid == mp->mp_pgno);
+ mdb_dpage_free(env, mp);
}
dl[x].mptr = NULL;
- mdb_dpage_free(env, mp);
}
{
/* squash freed slots out of the dirty list */