On Mar 25, 2007, at 1:12 AM, Alex wrote: > Of course the widgets themselves may not use much memory, but if I > go an allocate a buffer for a sequence of high resolution images, I > should manage the memory for them carefully.
Yes, if you allocate memory for these kind of buffers, you must also deallocate them. FLTK takes care of image buffers that are directly associated with Fl_Image and derived classes. The only situation that comes to mind where *you* must free something that FLTK allocated are the directory listing functions. ---- http://robowerk.com/ _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

