mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-18 01:54:30 +08:00
mdbx: fix memleak after write-txn state rework.
Change-Id: I001d1d82c8091de1420617e98820ca7d6b69fe4a
This commit is contained in:
parent
0616fa72d4
commit
e519b8f315
@ -7640,6 +7640,7 @@ static int __cold mdbx_env_close0(MDBX_env *env) {
|
|||||||
mdbx_txl_free(env->me_txn0->tw.lifo_reclaimed);
|
mdbx_txl_free(env->me_txn0->tw.lifo_reclaimed);
|
||||||
mdbx_pnl_free(env->me_txn0->tw.retired_pages);
|
mdbx_pnl_free(env->me_txn0->tw.retired_pages);
|
||||||
mdbx_pnl_free(env->me_txn0->tw.spill_pages);
|
mdbx_pnl_free(env->me_txn0->tw.spill_pages);
|
||||||
|
mdbx_pnl_free(env->me_txn0->tw.reclaimed_pglist);
|
||||||
mdbx_free(env->me_txn0);
|
mdbx_free(env->me_txn0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user