Can we patch to free these two char ** malloc'd by Xlib? About a year or so
ago, Ian (?) had suggested I just not worry too much about any unfree'd buffers
in this particular area.
This is not a serious problem, but now I'm back to using Valgrind to track some
of my own code. Patching would just mean I don't need to remember to ignore the
'safe' lost from amongst my own malignant ones ...
Denton
--- Fl_x.cxx 2013-01-21 17:08:22.847562985 +1100
+++ Fl_x.cxx-patched 2013-01-21 17:22:21.496352965 +1100
@@ -396,6 +396,7 @@
if (must_free_fnt) free(fnt);
}
#endif
+ XFreeStringList(missing_list); // this list is ignored
preedit_attr = XVaCreateNestedList(0,
XNSpotLocation, &spot,
XNFontSet, fs, NULL);
@@ -508,6 +509,8 @@
&missing_count, &def_string);
#endif
}
+ XFreeStringList(missing_list); // this list is ignored
+
if (fl_xim_ic != ic) {
ic = fl_xim_ic;
change = 1;
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk