From: Howard Chu Date: Mon, 9 Mar 2009 00:48:44 +0000 (+0000) Subject: ITS#6005 realloc should be ch_realloc X-Git-Tag: ACLCHECK_0~719 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5152ea19a33912b1ea04f0ec483151d27d3b5180;p=openldap ITS#6005 realloc should be ch_realloc --- diff --git a/servers/slapd/sl_malloc.c b/servers/slapd/sl_malloc.c index 89614e55a8..a5d8760b64 100644 --- a/servers/slapd/sl_malloc.c +++ b/servers/slapd/sl_malloc.c @@ -195,7 +195,7 @@ slap_sl_mem_create( if (size > (char *)sh->sh_end - (char *)sh->sh_base) { void *newptr; - newptr = realloc( sh->sh_base, size ); + newptr = ch_realloc( sh->sh_base, size ); if ( newptr == NULL ) return NULL; sh->sh_base = newptr; }