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

Marco van de Voort marcov at stack.nl
Mon Oct 25 20:51:33 CEST 2010


In our previous episode, Tobias Giesen said:
> > Unless heaptrc shows leaks when the program exits, no memory leaks 
> > happen.
> 
> It's a leak. The program loses hundreds of MBs of memory just by 
> working with WideStrings. I compared it against FPC 2.2.4 - no leak.
 
> An SVN snapshot of 2.5.1 from around 3 months ago also leaks.

Note that on Windows 2.2.4 has the "Kylix" widestring, while 2.4.0 and later
have a "COM" widestring.



More information about the fpc-pascal mailing list