> Well, that is what I thought so I tried it:
>
> callback {
>   static About_Dialog *ad;
>   if (ad == NULL) ad = new About_Dialog();
>   ad->show();
>   while (ad->visible()) Fl::wait();
>   // delete ad;
> }
>
> I verified that "new About_Dialog" is only executed once but the memory leak 
> still happens at the same rate.

It's starting to look like the memory growth isn't related
to window creation/destruction after all. What are these
windows doing while they're running?

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to