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: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Tue, 20 Nov 2007 10:56:08 |
"Larry Killen" <lkillen@charter.net> wrote in message
news:47431275@newsgroups.borland.com...
> How extensive is this "leak".
Not very. A dozen or so bytes at application shutdown only.
> I am unclear as to how recompiling would correct a memory leak
Like I said earlier, the leaking is intentional in Indy's code, and defining
the IDFREEONFINAL flag disables that leaking.
> or why an intentional leak would be placed in the code in the first place.
Did you read the comments in the source code? Look at the bottom of the
IdStack and IdThread units.
Gambit