Wimpie Nortje wrote:


If I run the program using valgrind I get the following output:

When I run it with heaptrc unit (-gh) enabled, I get the following output. Showing no memory leaks. I'm using Linux (Ubuntu 8.04.2) and FPC 2.2.5.

I don't know how valgrind works, so I actually have no clue. ;-) I just thought I would mention the heaptrc results.


=====================================
$ ./memleak
Heap dump by heaptrc unit
4 memory blocks allocated : 54/64
4 memory blocks freed     : 54/64
0 unfreed memory blocks : 0
True heap size : 65536
True free heap : 65536
=====================================



Regards,
  - Graeme -

--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/

_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to