ITS#6005 realloc should be ch_realloc

This commit is contained in:
Howard Chu 2009-03-09 00:48:44 +00:00
parent 34c537a046
commit 5152ea19a3

View file

@ -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;
}