[fpc-pascal] Widestring memory leaks with FPC 2.4.0?

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Oct 25 20:23:15 CEST 2010


On 25 Oct 2010, at 19:08, Tobias Giesen wrote:

> I am doing a regular heaptrc.DumpHeap now and I see that WideString 
> memory blocks are still allocated for string values which are no 
> longer in use. Is the memory freed in some lazy way? Or should a
> value that is no longer assigned to any WideString be freed 
> immediately?

There can always be hidden temps around. Unless heaptrc shows leaks when the program exits, no memory leaks happen.


Jonas


More information about the fpc-pascal mailing list