RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.FreeMemory Function

FreeMemory frees a memory block.

Pascal
function FreeMemory(P: Pointer): Integer; cdecl;
C++
__cdecl int FreeMemory(void * P);

System

GetMemory allocates a block on the heap. To dispose of the buffer, use FreeMemory.

Note: FreeMemory is the C++ compatible version of FreeMem.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!