FreeMemory()
Syntax
FreeMemory(*MemoryID)Description
Free the memory previously allocated with AllocateMemory() or ReAllocateMemory().
Parameters
*MemoryID The address of the memory area to free. This must be a value returned from either AllocateMemory() or ReAllocateMemory().
Return value
None.
Remarks
If the program crashes at this command even though the input seems correct, it is usually a result of a memory corruption at an earlier time in the program by writing at an area outside of the allocated memory area. Such an error can be narrowed down to the real cause using the purifier debugger tool.
All remaining allocated memory blocks are automatically freed when the program ends.
See Also
AllocateMemory(), ReAllocateMemory()
Supported OS
All