Re: FastMM478 flagging ordinary statements



Sam Larson wrote:

FastMM was flagging the statement that had soemthing as simple as
MyStr := UpperCase(MyStr) and it kept going deeper until it reached
Delphi source code.

Be careful here. The actual memory leak may well show up deep in
Delphi code but that doesn't mean that's where the problem is. If you
create a class but forget to free it the actual leak is displayed in
the VCL even though it's the high level code at fault.

As a test I'd create a new application that only calls the problem
routines that you mentioned and only calls them once instead of in a
loop and see if the problem still exists.

--
-Mike (TeamB)
.