void *global_base = NULL;
when malloc is called, first we walk this list looking for a free block big enough to reuse. if we find one that's great. if not then we grow the heap.
this is find_free_block():
void *global_base = NULL;
when malloc is called, first we walk this list looking for a free block big enough to reuse. if we find one that's great. if not then we grow the heap.
this is find_free_block():