thanks all I was pretty sure it was a misunderstanding of mine. Roberto
2010/2/11 JoshyFun <[email protected]>: > Hello Lazarus-List, > > Thursday, February 11, 2010, 3:44:16 PM, you wrote: > > RP> I added the unit Heaptrc to my program and there seem to be memory > RP> leaks that i cannot find. > RP> Then I tried to build an "empty" application to see when I introduced > RP> the leaks, however even the following "empty" application seems to > RP> have memory leaks. > RP> To reproduce, just create a new application, add Heaptrc to the uses > RP> clause and run. > RP> I get 64 unfreed blocks. > RP> Can anyone help to understand why? > > heaptrc must be the first unit in the .lpr file as it is more or less > a memory manager. > > To simplify do not add heaptrc to the uses clause, use the appropiate > setting in the compiler -> linker page of your project. > > If you do not show the 64 leaks it would be difficult to track them > down. > > -- > Best regards, > JoshyFun > > > -- > _______________________________________________ > Lazarus mailing list > [email protected] > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
