custom-malloc icon indicating copy to clipboard operation
custom-malloc copied to clipboard

Shouldn't the first chunk start with available == 1?

Open hfingler opened this issue 3 years ago • 0 comments

I'm using your code for a project and it seems like the first chunk is marked as not available, which causes the first allocation request to fail.

Should head->available = 0; on line 189 be head->available = 1; ?

Thanks!

hfingler avatar Oct 24 '22 02:10 hfingler