On Tue, Jun 18, 2002 at 01:32:11PM +0200, Olivier Chapuis wrote: > Hello, > > It seems that XCreateFontSet leads to memory leak (or I totally > miss something). > > Each time I load a font with XCreateFontSet and free it with > XFreeFontSet the memory used by my (test) program grow: around > 4.4 Kb at each load/unload. The same thing happens if I open > (a static) XOM and load/unload the XFontSet with XCreateOC/XDestroyOC, > but with this method the memory grow only around 3.4 Kb each time. > This does not happen with XLoadQueryFont/XFreeFont. I use XFree-4.2. >
As nobody seem interested I take look at the code. At some point a FontStruct was not freed (plus others minor things). I will send a patch soon to [EMAIL PROTECTED] Regards, Olivier _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
