added a TODO item for posix_memalign wrapper

This commit is contained in:
hexcoder- 2019-10-27 08:12:01 +01:00
parent 2fafb9f2fb
commit 10af76a50c

View File

@ -188,6 +188,10 @@ void* calloc(size_t elem_len, size_t elem_cnt) {
} }
/* TODO: add a wrapper for posix_memalign, otherwise apps who use it,
will fail when freeing the memory.
*/
/* The wrapper for malloc(). Roughly the same, also clobbers the returned /* The wrapper for malloc(). Roughly the same, also clobbers the returned
memory (unlike calloc(), malloc() is not guaranteed to return zeroed memory (unlike calloc(), malloc() is not guaranteed to return zeroed
memory). */ memory). */