[fpc-devel] Possible memory leak in cthread.
    Graeme Geldenhuys 
    graemeg at opensoft.homeip.net
       
    Wed Aug  5 13:58:22 CEST 2009
    
    
  
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/
    
    
More information about the fpc-devel
mailing list