Disposes a dynamic variable.
procedure Dispose(var P: Pointer [ , Destructor ]);
Windows, Real, Protected
Should not be used with Mark or Release.
The declaration of Dispose has been extended so it can also dispose of anallocated on the heap, if you pass it that object's as a second parameter, like this:
After a call to Dispose, the value of P is undefined and it is an error to reference P.
If P does not point to a memory region in the heap, a run-time error occurs.