You are browsing as a guest. Sign up (or log in) to start making projects!

3h 6m 47s logged

Devblog 8

The real malloc and free is implemented. And if you know C you may understand what is going on in the image. All ptr are allocated using malloc and the first one is free’d before allocating ptr4, that is why their values are the same: ptr4 reuses ptr1 because ptr1 is free’d.

Now that I don’t only have the allocation but also freeing which means I can safely implement a filesystem driver without worrying about the memory overflowing.
– WilGulf

0
15

Comments 0

No comments yet. Be the first!