Re: Registering expected memory leaks

Giganews Newsgroups
Subject: Re: Registering expected memory leaks
Posted by:  Remy Lebeau \(Indy Team\) (no.spam@no.spam.com)
Date: Mon, 27 Aug 2007

"Philip von Melle" <philip.vonmel…@globetrotter.de> wrote in message
news:Xns999983FBADB7Bphilipvonmelleglo…@87.106.16.84...

> 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.

SysRegisterExpectedMemoryLeak() is a Borland/CodeGear function in the System
unit.

> IMO it would be better to call RegisterExpectedMemoryLeak()
> whic would work transparently in both scenarios.

Does RegisterExpectedMemoryLeak() exist in BDS 2006?

Gambit

Replies

In response to

Registering expected memory leaks posted by Philip von Melle on Mon, 27 Aug 2007