I was just looking into Fl_Help_View code and have found that format()
(and format_table()) methods use get_image() to work with it which cause
increase of reference count for shared images and does not release it.
However format is called with every resize, which cause to increase the
counting like there is no tomorrow. That means the reference count is
wrong and images are never freed from memory when you are done with
particular page/help view and free_data() is called.

Before filling STR, can somebody familiar with Fl_Help_View can confirm
that?

Thanks, R.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to