Ignore:
Timestamp:
Jan 2, 2019, 10:36:09 AM (5 years ago)
Author:
chronos
Message:
  • Fixed: Memory leaks reported by heaptrc.
Location:
branches/overos
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/overos

    • Property svn:ignore
      •  

        old new  
        33overos.lps
        44overos.res
         5heaptrclog.trc
         6overos.exe
  • branches/overos/overos.lpr

    r22 r24  
    99  Interfaces, // this includes the LCL widgetset
    1010  Forms, UFormMain, UWindow, UMouse, USystem, UTypes, UControls, UGraphics,
    11   UApplication
     11  UApplication, SysUtils
    1212  { you can add units after this };
    1313
    1414{$R *.res}
    1515
     16{$if declared(UseHeapTrace)}
     17const
     18  HeapTraceLog = 'heaptrclog.trc';
     19{$ENDIF}
     20
    1621begin
     22  {$if declared(UseHeapTrace)}
     23  // Heap trace
     24  DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
     25  SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
     26  {$ENDIF}
     27
    1728  RequireDerivedFormResource:=True;
    1829  Application.Initialize;
Note: See TracChangeset for help on using the changeset viewer.