Re: Releasing Xft2 and Fontconfig
Keith Packard <[email protected]> Thu, 30 May 2002 10:34:49 -0700
| Newsgroups | gmane.comp.xfree86.render |
|---|---|
| Message-ID | <E17DTp3-0000xx-00@localhost> |
Around 18 o'clock on May 30, [email protected] wrote: > The xterm process. I'm using Sun's X server without the Render extension. Ouch. Looks like I forgot to free the temporary X image. That might be a bit expensive. Try this patch: Index: xftcore.c =================================================================== RCS file: /home/x-cvs/xc/lib/Xft/xftcore.c,v retrieving revision 1.7 diff -u -r1.7 xftcore.c --- xftcore.c 19 Feb 2002 07:51:20 -0000 1.7 +++ xftcore.c 30 May 2002 17:31:36 -0000 @@ -1034,6 +1034,7 @@ XftSwapImage (image); XPutImage (dpy, draw->drawable, draw->core.gc, image, 0, 0, ox, oy, gi.width, gi.height); + XDestroyImage (image); } else { Keith Packard XFree86 Core Team HP Cambridge Research Lab