Board index » delphi » Memory leaks reported by Memory Sleuth

Memory leaks reported by Memory Sleuth

All,

I am using Memory Sleuth to check for memory leaks in my Delphi 3
application.  Memory Sleuth reports memory leaks in my application
everytime I use the Trim() function and everytime I concatenate strings
using either the Plus (+) operator or the Concat() function.  I use long
strings in my application.

I haven't been able to find this problem reported anywhere.  Does anyone
know if this is a know memory leak in Delphi 3 (.02) ?  or is it a problem
with Memory Sleuth ?

Any help would be appreciated.

Regards,
Andrew Kittou

 

Re:Memory leaks reported by Memory Sleuth


Quote
In article <01bd048e$d1965780$7ef693c0@hakeem>, Andrew Kittou wrote:
> Memory Sleuth reports memory leaks in my application
> everytime I use the Trim() function and everytime I concatenate strings
> using either the Plus (+) operator or the Concat() function.  I use long
> strings in my application.

please create the smallest possible test case that reproduces this error
and post the source code.

Re:Memory leaks reported by Memory Sleuth


Andrew,

There must be something you're not telling us. As Scott said, it would
be nice to see an example.

- Per

Quote
Andrew Kittou wrote:

> All,

> I am using Memory Sleuth to check for memory leaks in my Delphi 3
> application.  Memory Sleuth reports memory leaks in my application
> everytime I use the Trim() function and everytime I concatenate strings
> using either the Plus (+) operator or the Concat() function.  I use long
> strings in my application.

> I haven't been able to find this problem reported anywhere.  Does anyone
> know if this is a know memory leak in Delphi 3 (.02) ?  or is it a problem
> with Memory Sleuth ?

> Any help would be appreciated.

> Regards,
> Andrew Kittou

Other Threads