The memarray_alloc can be error prone to use as the block returned can contain data from previous uses. The memarray_calloc call added in this commit always zeroes the block before returning it to the user.
The memarray_alloc can be error prone to use as the block returned can contain data from previous uses. The memarray_calloc call added in this commit always zeroes the block before returning it to the user.