From 9d48aaac1f0b54aec6eecebda2c0b64407bd9448 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 15 Oct 2007 21:41:44 +0200 Subject: [PATCH] destroy xftdrawable --- draw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/draw.c b/draw.c index 2df95e0b..7f75880d 100644 --- a/draw.c +++ b/draw.c @@ -67,6 +67,7 @@ drawtext(Display *disp, int screen, int x, int y, int w, int h, Drawable drawabl y + (h / 2) - (font->height / 2) + font->ascent, (FcChar8 *) buf, len); XftColorFree(disp, DefaultVisual(disp, screen), DefaultColormap(disp, screen), &xftcolor); + XftDrawDestroy(xftdrawable); } void