[riot-notifications] [RIOT-OS/RIOT] sys/oneway-malloc: export oneway_malloc() (#15474)

Kaspar Schleiser notifications at github.com
Thu Nov 19 22:21:09 CET 2020


> Ok, I went with the second option. I'd rather avoid keeping around obsolete code just for the sake of it, so so I dropped the libc-emulating functions and only kept `oneway_malloc()` and `oneway_calloc()`.

Still, it will break when both oneway_malloc and newlib malloc is used, right? Because if oneway_malloc() allocates a bit using sbrk, and then free() frees a bit from the malloc pool, free() might free the oneway_malloc()ed block.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15474#issuecomment-730644028
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201119/fd8ddce0/attachment.htm>


More information about the notifications mailing list