From: Takaaki T. <tt...@ja...> - 2001-09-06 16:50:30
|
At Thu, 6 Sep 2001 08:44:24 -0700 (PDT), Kevin Smith wrote: > I haven't looked at the FLTK source code--does Fl_Browser > malloc the initial array, or is it static? Right now, if > the user passes [] to column_widths, and then passes some > other array, we would never free the earlier one, right? Yes, that's right. > One option would be that if the user passes [], we would > pass a static array (static int empty[2] = {0};) instead of > malloc'ing it. I see. -- Takaaki Tateishi <tt...@ja...> |