every time I get the leak report with MadExcept in Delphi, with two entries "InitializeCriticalSection".
The trigger seems to be the initialization part of IdStack.pas and IdThread.pas.
If I deactivate MadExcept and only activate ReportMemoryLeaksOnShutdown in Delphi I get no message about the leaks.
With the latest madExcept update:
... you can call "madExcept.HideInitializationLeaks()" to hide any leaks that occur within any unit "initialization" sections, if you so prefer.