embeddedartistry / embedded-resources

Embedded Artistry Templates, Documents, and Source Code

Home Page:https://embeddedartistry.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reported: free-list malloc returns NULL

phillipjohnston opened this issue · comments

This was reported on the old website as a comment. I need to look into it.

Hello,
I am running the following code and the returned ptr is NULL

void * my_block = malloc(32);
malloc_addblock(my_block, 32);
void *t1 = fl_malloc(20);

I have not been able to reproduce this in my tests or in production and have been using this across devices.