[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Memory leak
From: |
Nicola Pero |
Subject: |
Re: Memory leak |
Date: |
Mon, 20 Jan 2003 22:27:30 +0000 (GMT) |
> I've tested with the new text system, and it shows up with back-xlib but
> not back-art. I've tracked it down (or at least one leak) to XGFontInfo.
> -setupAttributes is using XLoadQueryFont() to load the font and
> XFontStruct, but -dealloc is using XUnloadFont(), which frees the font
> but not the XFontStruct. Using XFreeFont() instead fixes it. I've
> attached a patch.
Brilliant - yes - thanks. :-)
Please commit it to CVS! :-)