The heap gives you freedom. It also remembers every block you forgot to free.
- Decide who frees a buffer before you allocate it
- Never lose the only pointer to a block while resizing it
- Pass the memory check without a single leak
- Hand out memory yourself, from a pool you carved