]> git.sur5r.net Git - openldap/commit
Fix alloc/free issues.
authorHallvard Furuseth <hallvard@openldap.org>
Wed, 26 Jun 2013 16:02:52 +0000 (18:02 +0200)
committerHallvard Furuseth <hallvard@openldap.org>
Wed, 26 Jun 2013 16:02:52 +0000 (18:02 +0200)
commit7f6738355284dbee8bf97a23396a6380e91dfa73
treebb4249f776a90e6bc6b0cea0eac26f44d9a27bbc
parent12c558fe13fbba4c370b0b669271d8ccaad7819a
Fix alloc/free issues.

Page leak, mdb_page_alloc(). On error, don't shorten me_pghead.
Memleak, mdb_ovpage_free(). Free page or keep it in dirty_list.
Bad MIDL, mdb_midl_need(). Fix midl[-1] (allocated size).
libraries/liblmdb/mdb.c
libraries/liblmdb/midl.c