]> git.sur5r.net Git - openldap/commit
ITS#7512 Fix MDB page leak when malloc error.
authorHallvard Furuseth <hallvard@openldap.org>
Thu, 7 Feb 2013 07:17:30 +0000 (08:17 +0100)
committerHallvard Furuseth <hallvard@openldap.org>
Thu, 7 Feb 2013 07:17:30 +0000 (08:17 +0100)
commit65c053a6e7f6973c1d09710aa1bd57b218206fcb
treeced3baf700bfca75991fd511d5a8aac381a9a849
parente0eb495fb3c0909b341803c98ac2c78ac39f1f5b
ITS#7512 Fix MDB page leak when malloc error.

mdb_page_alloc(): Delay moving me_pgfirst,me_pglast
until malloc(MDB_oldpages to hold the IDs) succeeds.
libraries/liblmdb/mdb.c