FreeStructure()

Syntax

FreeStructure(*Item)
Description
Free the dynamic structure item previously allocated with AllocateStructure(). There is no need to call ClearStructure() before freeing the structure.

Parameters

*Item The address of the dynamic structure item to free. This must be a value returned from AllocateStructure().

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 dynamic structure items are automatically freed when the program ends.

See Also

AllocateStructure()

Supported OS

All

<- FreeMemory() - Memory Index - MemorySize() ->