[Lazarus] Memory leak in TThread class

silvioprog silvioprog at gmail.com
Mon Oct 4 20:00:00 CEST 2010


2010/10/4 Marcos Douglas <md at delfire.net>

>
> Where is the mem leak?
>

------------------------------------------------------------------------------------
C:\Users\silvioprog\Desktop\ThreadLeak\project1.exe
Heap dump by heaptrc unit
500 memory blocks allocated : 33396/34856
499 memory blocks freed     : 33384/34840
1 unfreed memory blocks : 12
True heap size : 229376 (112 used in System startup)
True free heap : 229168
Should be : 229184
Call trace for block $0018F270 size 12
  $0040E5BB
  $00439456
  $0042E31C  TFORM1__CREATE,  line 41 of Unit1.pas
  $0042CE98  TAPPLICATION__CREATEFORM,  line 2084 of
./include/application.inc
  $00402A83  main,  line 17 of project1.lpr
  $00410CC1
  $00402A83  main,  line 17 of project1.lpr
  $00410CC1
------------------------------------------------------------------------------------

Marcos Douglas


-- 
Silvio Clécio,
*programmer* *ObjectPascal*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20101004/21e89f30/attachment-0004.html>


More information about the Lazarus mailing list