Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
87a94cbf
Commit
87a94cbf
authored
Jan 23, 2020
by
Howard Chu
Browse files
ITS
#9155
lmdb: free mt_spill_pgs in non-nested txn on end
parent
ed0b29b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/liblmdb/mdb.c
View file @
87a94cbf
...
...
@@ -3027,9 +3027,9 @@ mdb_txn_end(MDB_txn *txn, unsigned mode)
txn
->
mt_parent
->
mt_flags
&=
~
MDB_TXN_HAS_CHILD
;
env
->
me_pgstate
=
((
MDB_ntxn
*
)
txn
)
->
mnt_pgstate
;
mdb_midl_free
(
txn
->
mt_free_pgs
);
mdb_midl_free
(
txn
->
mt_spill_pgs
);
free
(
txn
->
mt_u
.
dirty_list
);
}
mdb_midl_free
(
txn
->
mt_spill_pgs
);
mdb_midl_free
(
pghead
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment