FreeMemory()

语法

FreeMemory(*MemoryID)
概要
Free the memory previously allocated with AllocateMemory() or ReAllocateMemory().

参数

*MemoryID The address of the memory area to free. This must be a value returned from either AllocateMemory() or ReAllocateMemory().

返回值

无.

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.

参阅

AllocateMemory(), ReAllocateMemory()

已支持操作系统

所有

<- FillMemory() - Memory Index - FreeStructure() ->