Frees allocated heap memory.
void free (void * block);
Required Header |
<stdlib.h> |
Return Value
None.
Parameters
block
A pointer to the heap memory block to be freed
Remarks
The free function returns the heap memory pointed to by block back to the system so that it may become available to other programs. Do not use free with pointers returned from the _alloca function, they are automatically released when the function that called _alloca returns.