Skip to content

Free

Free a previously allocated block.

Declaration

Source position: cmem.pp line 66

procedure Free(P: pointer); cdecl;external LibName name 'free';

Arguments

Name Description
P Pointer to the memory block to be freed.

Description

Free returns the memory block pointed to by P to the system. After Free was called, the pointer P is no longer valid.

See also

Name Description
Malloc Malloc external declaration.
ReAlloc Reallocates a memory block.