Al 17/08/2011 14:20, En/na Ludo Brands ha escrit:
Luca, out of curiosity, is it related to the same font issue or
something else? In other words can you point to some gtk2
control that
being inserted and removed on the form leads to memory increase?

No, it's just the font issue.


Luca,

I had a look with valgrind massif at the problem in
http://bugs.freepascal.org/view.php?id=18727. The problem is indeed fonts
not being released. I have a patch attached to the issue.

Thank you!. I hope next time I stumble into a similar problem[*] I'll remember to use the massif tool instead of memcheck.



[*]TPicture.LoadFromFile I think also leaks memory under linux, but I have to check.

Bye
--
Luca Olivetti
Wetron Automation Technology http://www.wetron.es
Tel. +34 935883004 (Ext.133)  Fax +34 935883007

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to