Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Nov : Re: Verison of Indy 10 without Memory Leak?
| Subject: | Re: Verison of Indy 10 without Memory Leak? |
| Posted by: | "Steve Maughan" (google..@www.com) |
| Date: | Tue, 6 Nov 2007 19:18:03 |
Remy,
Many thanks!!
Steve
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message
news:4730f407$1@newsgroups.borland.com...
>
> "Steve Maughan" <GoogleMe@www.com> wrote in message
> news:4730cfea$1@newsgroups.borland.com...
>
>> I've been told that this is intentional (not sure why it necessary) but
>> there is a version of Indy that doesn't have this leak.
>> Is this true?
>
> No. However, you can recompile Indy with IDFREEONFINAL defined
> (IdCompilerDefines.inc would be a good place to put it) in order to remove
> the leaks. If you upgrade to a newer Indy 10 snapshot (what ships with
> D2007 is *not* the latest), then it calls SysRegisterExpectedMemoryLeak()
> when IDFREEONFINAL is not defined, so the leaks do not appear in FastMM's
> leak report when enabled.
>
>
> Gambit