Build an Allocation, Then End Ownership
1 / 7
naive-malloc: every positive request appends a block.free-basic: free marks a block; allocation still always appends.request_space returns a header.my_malloc returns the immediately following payload.(void*)-1 means failure; append only after successful growth.