On Fri, 22 Jun 2007 13:22:17 +0200
zeljko <[EMAIL PROTECTED]> wrote:
> Compiled simple project with -gh , and it seem that TForm doesn't call Free()
> for it's children (created at design time) eg.
>
> MainForm -> Form1 ->
> -> TRadioGroup with 4 radio buttons
> -> TButton -> calls Close() of Form1.
>
> Tested under linux with:
> gtk, gtk2, qt - fpc- 2.0.4
>
> If I explicitely call Free() for each of children in Form1.OnClose() then
> it calls children's destructors, but still remains unfreed blocks for form
> itself ?!?
>
I found no memleaks using fpc 2.0.4 and 2.3.1 on i386-linux-gtk.
--
Vincent
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives