> Valgrind-ing, I believe I found the source of a leak in Fl_x.cxx.
>
> fl_get_font_xfld() malloc's and returns a char * to fl_new_ic(), but the
> latter does not free this space. From what I can tell, fl_new_ic() needs to
> do that.
>
> This seems to solve the problem:
>
>
> 365c365
> < char *
On 14.01.2011, at 10:02, Denton Thomas wrote:
> Sorry - Neglected to mention:
>
> FLTK 1.3.0rc3-8207 (current)
> gcc 4.4.3
> Linux (tinycore 3.4.1)
>
>> Valgrind-ing, I believe I found the source of a leak in Fl_x.cxx.
>>
>> fl_get_font_xfld() malloc's and returns a char * to fl_new_ic(), but
Sorry - Neglected to mention:
FLTK 1.3.0rc3-8207 (current)
gcc 4.4.3
Linux (tinycore 3.4.1)
> Valgrind-ing, I believe I found the source of a leak in Fl_x.cxx.
>
> fl_get_font_xfld() malloc's and returns a char * to fl_new_ic(), but the
> latter does not free this space. From what I can tell, fl
Valgrind-ing, I believe I found the source of a leak in Fl_x.cxx.
fl_get_font_xfld() malloc's and returns a char * to fl_new_ic(), but the latter
does not free this space. From what I can tell, fl_new_ic() needs to do that.
This seems to solve the problem:
365c365
< char *fnt;
---
> char *