mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-27 05:13:25 +01:00
Merge pull request #2421
edda2014
ITS#8728 fix MDB_VL32 freeing overflow page (Howard Chu)
This commit is contained in:
commit
81ac8c49ec
4
external/db_drivers/liblmdb/mdb.c
vendored
4
external/db_drivers/liblmdb/mdb.c
vendored
@ -6288,6 +6288,10 @@ release:
|
|||||||
if (rc)
|
if (rc)
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
#ifdef MDB_VL32
|
||||||
|
if (mc->mc_ovpg == mp)
|
||||||
|
mc->mc_ovpg = NULL;
|
||||||
|
#endif
|
||||||
mc->mc_db->md_overflow_pages -= ovpages;
|
mc->mc_db->md_overflow_pages -= ovpages;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user