mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
ITS#9155 lmdb: free mt_spill_pgs in non-nested txn on end
This commit is contained in:
parent
ed0b29b3fe
commit
87a94cbf9b
1 changed files with 1 additions and 1 deletions
|
|
@ -3027,9 +3027,9 @@ mdb_txn_end(MDB_txn *txn, unsigned mode)
|
||||||
txn->mt_parent->mt_flags &= ~MDB_TXN_HAS_CHILD;
|
txn->mt_parent->mt_flags &= ~MDB_TXN_HAS_CHILD;
|
||||||
env->me_pgstate = ((MDB_ntxn *)txn)->mnt_pgstate;
|
env->me_pgstate = ((MDB_ntxn *)txn)->mnt_pgstate;
|
||||||
mdb_midl_free(txn->mt_free_pgs);
|
mdb_midl_free(txn->mt_free_pgs);
|
||||||
mdb_midl_free(txn->mt_spill_pgs);
|
|
||||||
free(txn->mt_u.dirty_list);
|
free(txn->mt_u.dirty_list);
|
||||||
}
|
}
|
||||||
|
mdb_midl_free(txn->mt_spill_pgs);
|
||||||
|
|
||||||
mdb_midl_free(pghead);
|
mdb_midl_free(pghead);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue