Glossary: C Basics
Hands heap memory from malloc back. Free each block exactly once, then set the pointer to NULL.
mallocMemory leakDouble free