Hi list,

I added the unit Heaptrc to my program and there seem to be memory
leaks that i cannot find.
Then I tried to build an "empty" application to see when I introduced
the leaks, however even the following "empty" application seems to
have memory leaks.
To reproduce, just create a new application, add Heaptrc to the uses
clause and run.
I get 64 unfreed blocks.

Can anyone help to understand why?

Thanks,

   Roberto

-------------------------------------
unit Unit1;

{$mode objfpc}{$H+}

interface

uses
  Heaptrc,
  Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs;

type
  TForm1 = class(TForm)
  private
    { private declarations }
  public
    { public declarations }
  end;

var
  Form1: TForm1;

implementation

initialization
  {$I UnitProvaHeaptrc.lrs}

end.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to