Registering expected memory leaks

Giganews Newsgroups
Subject: Registering expected memory leaks
Posted by:  Philip von Melle (philip.vonmel…@globetrotter.de)
Date: Mon, 27 Aug 2007

When REGISTER_EXPECTED_MEMORY_LEAK is defined Indy calls
SysRegisterExpectedMemoryLeak() in IdThread and IdStack if IDFREEONFINAL is
not defined. This works fine with the defualt memory manager but not when
using FastMM4 explicitly as SysRegisterExpectedMemoryLeak() does not exist
there. IMO it would be better to call RegisterExpectedMemoryLeak()whic
would work transparently in both scenarios.

Regards, Philip

Replies