[prev in list] [next in list] [prev in thread] [next in thread]
List: xfree-xpert
Subject: Re: [Xpert]Memory leak with XCreatFontSet ?
From: Olivier Chapuis <olivier.chapuis () free ! fr>
Date: 2002-06-24 21:03:38
[Download RAW message or body]
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 fixes@xfree86.Org.
Regards, Olivier
_______________________________________________
Xpert mailing list
Xpert@XFree86.Org
http://XFree86.Org/mailman/listinfo/xpert
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic