RegisterExpectedMemoryLeak

delphi package - automated exception handling
troberts
Posts: 1
Joined: Mon Feb 28, 2022 6:08 pm

Re: RegisterExpectedMemoryLeak

Post by troberts »

Picking this up again. I have a fresh install of Delphi 11 and madExcept on a new PC and I have exactly the same problem as the writer of this post (leaking of TIdCriticalSection):

https://stackoverflow.com/questions/711 ... 6#71292136

I read Remy's answer and it seems to me that it shouldn't be necessary to recompile Indy and so therefore the problem must be with the madExcept install. I have uninstalled and reinstalled madExcept to no avail.

Any further ideas?
gambit47
Posts: 6
Joined: Wed May 31, 2006 8:02 pm

Re: RegisterExpectedMemoryLeak

Post by gambit47 »

madshi wrote: Mon Oct 06, 2014 6:17 pm madExcept's leak checking should automatically handle leaks registered via RegisterExpectedMemoryLeak() correctly. At least that's the theory...
In practice, has that actually been verified?
madshi
Site Admin
Posts: 10528
Joined: Sun Mar 21, 2004 5:25 pm

Re: RegisterExpectedMemoryLeak

Post by madshi »

IIRC I did test it at some point.
Post Reply