[Overview][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'LCLProc' (#lcl)

FreeThenNil

Frees the TObject instance (when assigned) before setting the reference to Nil.

Declaration

Source position: lclproc.pas line 112

procedure FreeThenNil(

  var obj

);

Arguments

obj

  

The object reference freed and Nil'd in the routine.

Description

Calls the FreeThenNil routine in the lazutilities.pas unit from the lazutils package.

See also

LazUtilities.FreeThenNil