mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-22 06:43:17 -05:00
ITS#7515 Fix mdb_page_unspill() in nested txn.
Malloc a page in this txn, not in a parent.
This commit is contained in:
parent
a3b3482854
commit
8e1d10e828
1 changed files with 1 additions and 1 deletions
|
|
@ -1818,7 +1818,7 @@ mdb_page_unspill(MDB_txn *tx0, MDB_page *mp, MDB_page **ret)
|
|||
if (env->me_flags & MDB_WRITEMAP) {
|
||||
np = mp;
|
||||
} else {
|
||||
np = mdb_page_malloc(txn, num);
|
||||
np = mdb_page_malloc(tx0, num);
|
||||
if (!np)
|
||||
return ENOMEM;
|
||||
if (num > 1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue