Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Apr : Unexpected memory leak

www.cryer.info
Managed Newsgroup Archive

Unexpected memory leak

Subject:Unexpected memory leak
Posted by:"Maarten" (mdevri..@knipsel.ln)
Date:Tue, 29 Apr 2008 16:26:28

With Delphi 2007 and Indy 10 I generated a project with the following
code(!) :

program Project1;

uses
  Forms,
  Unit1 in 'Unit1.pas' {Form1};

{$R *.res}

begin
  ReportMemoryLeaksOnShutdown := DebugHook <> 0;
  Application.Initialize;
  Application.MainFormOnTaskbar := True;
  Application.CreateForm(TForm1, Form1);
  Application.Run;
end.


unit Unit1;

interface

uses Windows, Forms, IdFTP, IdFTPCommon;
type
  TForm1 = class(TForm)
  end;
var
  Form1: TForm1;
implementation
{$R *.dfm}
end.

When the program ends (normally) I got an "Unexpected memory leak occurred".
Is there any explanation for this? It looks like a bug to me.

Maarten

Replies:

www.cryer.info
Managed Newsgroup Archive