On 03 Sep 2009, at 08:56, Graeme Geldenhuys wrote:

What is wrong with enabling the heaptrc unit (-gh)?

It does not detect memory leaks stemming from memory not allocated via FPC code. A lot of Mac OS X framework routines return pointers that you have to retain/release in a balanced way.


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to