Ignore:
Timestamp:
Feb 26, 2021, 11:56:48 PM (4 years ago)
Author:
chronos
Message:
  • Modified: Use FreeAndNil instead of Free as defensive measure.
  • Modified: Use ihnerited without same method name specification.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/NatStat.pas

    r189 r290  
    9898procedure TNatStatDlg.FormDestroy(Sender: TObject);
    9999begin
    100   ReportText.Free;
     100  FreeAndNil(ReportText);
    101101  FreeMem(SelfReport);
    102   Template.Free;
    103   Back.Free;
     102  FreeAndNil(Template);
     103  FreeAndNil(Back);
    104104end;
    105105
Note: See TracChangeset for help on using the changeset viewer.