Skip to content

EHeapMemoryError.FreeInstance

Free the exception instance.

Declaration

Source position: sysutilh.inc line 207

public 
procedure EHeapMemoryError.FreeInstance;  override;

Description

FreeInstance checks whether the exception instance may be freed prior to calling the inherited FreeInstance. The exception is only freed in case of normal program shutdown, if a heap error occurred, the exception instance is not freed.