Hi Scuri,

There are a possible leak at (src/win/iupwin_font.c)

At line 89, IUP call:
fonts = (IwinFont*)iupArrayInc(win_fonts);

To create room for the next font, but uses var i with count value.
var i must be count + 1, otherwise will replace the last font, leaking last 
pointer font.

regards,
Ranier Vilela

_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to