<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 24/10/2015 13:51, Aradeonas wrote:<br>
</div>
<blockquote
cite="mid:1445691069.3177865.419068817.5B8D040E@webmail.messagingengine.com"
type="cite">
<title></title>
Is there any way to count objects or whatever so I can find what
object will not free?
<div> </div>
<div>I cant gett much of help from report becuase its very big
(about 100,000 line) and it have many items like this :<br>
</div>
<blockquote>
<div>Call trace for block $0030EEC8 size 88<br>
</div>
<div> $0049664B TFONTHANDLECACHE__ADD, line 104 of
./include/font.inc<br>
</div>
<div> $00497F37 TFONT__REFERENCENEEDED, line 1157 of
./include/font.inc<br>
</div>
<div> $00498275 TFONT__GETREFERENCE, line 1277 of
./include/font.inc<br>
</div>
<div> $0041FE77 SCREENGETSYSTEMFONT, line 51 of
./include/screen.inc<br>
</div>
<div> $0049A6B1 TCANVAS__TEXTRECT, line 1290 of
./include/canvas.inc<br>
</div>
<div> $00520133 TCUSTOMPANEL__PAINT, line 127 of
./include/custompanel.inc<br>
</div>
<div> $004FF413 TCUSTOMCONTROL__PAINTWINDOW, line 126 of
./include/customcontrol.inc<br>
</div>
<div> $BAADF00D<br>
</div>
<div> </div>
</blockquote>
<div id="sig12586409">
<div class="signature">Or it address end of procedures or ... .</div>
<div class="signature">So how can I find out what is the
problem?<br>
</div>
<br>
</div>
</blockquote>
<br>
look at <a class="moz-txt-link-freetext" href="http://wiki.freepascal.org/leakview">http://wiki.freepascal.org/leakview</a><br>
If you redirect above to a file ( set environment HEAPTRC to
log=file / on windows setting environment requires a newer gdb, see
the Lazarus sourceforge site), then you can load them.<br>
<br>
Search for those that include your code. <br>
The ide shows how often each leak recurred "(n times)", find the
ones with low count<br>
<br>
</body>
</html>