RoutineOp / delphi-code-coverage

Automatically exported from code.google.com/p/delphi-code-coverage
0 stars 1 forks source link

Memory leak in TDebugger #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The following private variables are not freed:
  ms: TJCLMapScanner;
  Configuration: TCoverageConfiguration;
  bplist: TBreakpointList;
  process: TDebugProcess;

Also the TCommandLineProvider object created in the TDebugger.Create is not 
freed.

Fix:

destructor TDebugger.Destroy;
begin
  ms.Free;
  Configuration.Free;
  Coverage.Free;
  bplist.Free;
  process.Free;
  inherited;
end;

Original issue reported on code.google.com by ring....@gmail.com on 31 Jul 2010 at 5:28

GoogleCodeExporter commented 9 years ago
Fixed in 0.4

Original comment by christer...@gmail.com on 9 Aug 2010 at 8:26