Skip to content

TObject.FreeInstance

Clean up instance and free the memory reserved for the instance.

Declaration

Source position: objpash.inc line 212

public 
  procedure FreeInstance;  Virtual;

Description

FreeInstance cleans up an instance of the current class, and releases the heap memory occupied by the class instance.

See also

Name Description
Destroy TObject destructor.
InitInstance Initialize a new class instance.
NewInstance Allocate memory on the heap for a new instance