Skip to content

Chapter 18: Memory management

18.1 The malloc function

Error checking

18.2 The calloc function

18.3 The realloc function

18.4 The free function

free with recursive data structures

Don't free undefined pointers

Write constructor/destructor functions

18.5 References