[fpc-pascal]Memory leak in freepascal, FreeAndNil not working properly?

Peter Vreman peter at freepascal.org
Wed Jun 23 17:11:55 CEST 2004


> Hi folks,
>
> please check out this code (unit). Certainly there is something very
> strange
> going on in handling memory in freepascal. I'm using Free Pascal Compiler
> version 1.9.4 [2004/05/30] for i386.
>

<snip code>

You code is wrong, it also crashes with kylix.






More information about the fpc-pascal mailing list