diff --git a/draw.c b/draw.c index 2df95e0b7..7f75880dc 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