mdbx: fix memleak after write-txn state rework.

Change-Id: I001d1d82c8091de1420617e98820ca7d6b69fe4a
This commit is contained in:
Leonid Yuriev 2019-10-10 14:41:59 +03:00
parent 0616fa72d4
commit e519b8f315

View File

@ -7640,6 +7640,7 @@ static int __cold mdbx_env_close0(MDBX_env *env) {
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.spill_pages);
mdbx_pnl_free(env->me_txn0->tw.reclaimed_pglist);
mdbx_free(env->me_txn0);
}