Namespaces
Variants
Views
Actions

free

From cppreference.com
< c | memory
Revision as of 12:28, 19 April 2012 by P12 (Talk | contribs)

Template:c/memory/sidebar

Defined in header <stdlib.h>
void free( void* ptr );

Deallocates the space previously allocated by malloc(), calloc() or realloc().

Parameters

ptr - pointer to the memory to deallocate

Return value

(none)

See also