Ensures that the specified object instance is freed and set to Nil.
Source position: lazutilities.pas line 25
procedure FreeThenNil( |
var obj |
); |
obj |
|
Object instance modified in the routine. |
FreeThenNil is a procedure used to ensure that the object instance in obj is freed and set to Nil. If obj has been assigned, it is cast to a TObject instance and its Free method is called. Finally, the pointer to the address in obj is set to Nil.
| Version 4.4 | Generated 2025-11-08 | Home |