]> git.sur5r.net Git - openldap/commit
ITS#6437, failure/fallback/debug handling:
authorHallvard Furuseth <hallvard@openldap.org>
Sat, 2 Jan 2010 22:41:41 +0000 (22:41 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Sat, 2 Jan 2010 22:41:41 +0000 (22:41 +0000)
commit423c13a6d6ad4f311f65bcf9295ecbdc2d98e0c1
treededecbe0f78eb21238a0d5b491d7d3279ed486c5
parent46b99131cb61087d4b3e1f7a60e7e2169ce609e0
ITS#6437, failure/fallback/debug handling:
slap_sl_malloc could return failure. Exit instead, like the rest of sl_malloc.
Since we increase size, reduce it before Debug() and/or fallback to ch_malloc.
Debug() before exit() on failure.  Tweak debug formats and a comment.
servers/slapd/sl_malloc.c