An unexpected memory leak has ocured on TIdHttp component

Giganews Newsgroups
Subject: An unexpected memory leak has ocured on TIdHttp component
Posted by:  Marcel Horsthuis (marc…@horsthouse.nl)
Date: Wed, 06 Feb 2008

Hello,

Delphi 2007 has the feature to report memory leaks on shutdown.
(ReportMemoryLeaksOnShutdown := true;)

When I create a new empty project and put a TIdHttp compoment on the
form, Set the ReportMemoryLeaksOnShutdown to true in the OnFormCreate
Event. Compile and run and close the project I Get a UnExpected Memory
Leak message :

"An unexpected memory leak has occured. The unexpected small block leaks
are:

1 - 12 bytes: TIdThreadSafeInteger x 1
21 - 28 bytes: TIdCriticalSection x 2

Is there something to do about this?

I'm using Indy 10 the comes with Delphi 2007.

Regards,

Marcel Horsthuis

Replies