>I did poke at this a little; looks like menuwindow and menutitle
>classes are getting allocated and destroyed correctly, so it must
>be something deeper.. maybe Fl_Menu_Window..?

It seems that problem is wider, not only menus wastes memory. But popup windows 
too. I've filled a bug:
http://www.fltk.org/str.php?L2185+P0+S-2+C0+I0+E0+Q
#2185 [CRIT] Huge memory leak when opening/closing windows several times

I included one more example to show memory wasting on application which pops up 
modal window. Also you can see memory wasting when opening/closing some 
additional windows in fluid.

And again fltk-1.1.9 works fine.

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

Reply via email to