|
|
@ -4306,7 +4306,7 @@ static Void_t** iALLOc(n_elements, sizes, opts, chunks) size_t n_elements; size_
|
|
|
|
remainder_size = chunksize(p);
|
|
|
|
remainder_size = chunksize(p);
|
|
|
|
|
|
|
|
|
|
|
|
if (opts & 0x2) { /* optionally clear the elements */
|
|
|
|
if (opts & 0x2) { /* optionally clear the elements */
|
|
|
|
memset(mem, 0, remainder_size - SIZE_SZ - array_size)
|
|
|
|
memset(mem, 0, remainder_size - SIZE_SZ - array_size);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* If not provided, allocate the pointer array as final part of chunk */
|
|
|
|
/* If not provided, allocate the pointer array as final part of chunk */
|
|
|
|