C & Memory

Chapter 6: The Heap — `malloc`, `calloc`, `realloc`, `free` & Arenas

Mastering manual dynamic memory without leaks or corruption: ownership discipline, `calloc` overflow protection, the `realloc` leak trap, allocator internals, and arena allocators.