I am running my app in Linux using GTK and I think I have found a possible 
memory leak when using valgrind.


iup_font.c gtkFindFont() makes a call to pango_layout_new() to create a new 
layout.  I noticed iupdrvFontFinish() is not calling:


g_object_unref(fonts[i].layout);


I am new to IUP and GTK programming in but I don't see an unref on the layout 
elsewhere.  I hope this is helpful.  Let me know if I missed something.


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

Reply via email to