free

Frees allocated memory blocks

#include <stdlib.h>
void free (
       void* block
)

Arguments

block Pointer to allocated memory to be freed

Return Value

None

Explanation

The memory area pointed to by block and previously allocated by calloc(), malloc() or realloc() is freed.

See Also

calloc(), malloc(), realloc()