Grygoriy wrote:
> Hi. I'm experiencing huge memory leaks when using popup menus. Generaly every 
> popup of the menu takes about 200kb of memory more, I'm developing 
> application which have a lot of menus, and this memory wasting is highly 
> critical for me.
> I'm using fltk-1.3-r6700
> Here is small example which reproduces my problem, please check if I'm doing 
> anything wrong.

        Hmm, your code looks normal to me.

        Seems like there could be a leak alright.. code to check I think
        would be Fl_Menu_Item::pulldown(..) in Fl_Menu.cxx
        which is what appears to be doing all the work.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to