1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

3 Commits

Author SHA1 Message Date
232237796a
memarray: Add memarray_calloc
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.
2020-09-02 19:16:30 +02:00
Vincent Dupont
97cfd1e512 memarray: fix memarray init
If memarray data is not initialized to 0 (for instance during a
re-init). The last element of the array is not properly cleared thus
leading to returning an invalid pointer when everything is allocated.
2020-03-09 17:56:34 +01:00
tobhe
509f40a81c memarray: add fixed-size memory block allocator 2018-04-10 14:37:29 +02:00