Changeset 38 for trunk/USystem.pas


Ignore:
Timestamp:
Mar 8, 2012, 3:40:45 PM (13 years ago)
Author:
chronos
Message:
  • Fixed: SqlDatabase object initialized twice and freed once.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/USystem.pas

    r37 r38  
    658658destructor TChronisBase.Destroy;
    659659begin
    660   Types.Free;
    661   Modules.Free;
    662   Client.Free;
     660  FreeAndNil(Types);
     661  FreeAndNil(Modules);
     662  FreeAndNil(Client);
    663663  inherited Destroy;
    664664end;
Note: See TracChangeset for help on using the changeset viewer.