destroy xftdrawable

This commit is contained in:
Julien Danjou 2007-10-15 21:41:44 +02:00
parent 00ddb9d398
commit 9d48aaac1f
1 changed files with 1 additions and 0 deletions

1
draw.c
View File

@ -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, y + (h / 2) - (font->height / 2) + font->ascent,
(FcChar8 *) buf, len); (FcChar8 *) buf, len);
XftColorFree(disp, DefaultVisual(disp, screen), DefaultColormap(disp, screen), &xftcolor); XftColorFree(disp, DefaultVisual(disp, screen), DefaultColormap(disp, screen), &xftcolor);
XftDrawDestroy(xftdrawable);
} }
void void