add: WMReleaseColor(gray);
context: paintGradListItem(WMList *lPtr, int index, Drawable d, char *text, int state, 		  WMRect *rect){    TexturePanel *panel = (TexturePanel*)WMGetHangedData(lPtr);    WMScreen *scr = WMWidgetScreen(lPtr);    int width, height, x, y;    Display *dpy;    WMColor *white = WMWhiteColor(scr);    WMListItem *item;    WMColor *black = WMBlackColor(scr);    dpy = WMScreenDisplay(scr);    width = rect->size.width;    height = rect->size.height;    x = rect->pos.x;    y = rect->pos.y;    if (state & WLDSSelected)        XFillRectangle(dpy, d, WMColorGC(white), x, y, width, height);    else        XClearArea(dpy, d, x, y, width, height, False);    item = WMGetListItem(lPtr, index);    if (panel->gimage) {	XCopyArea(WMScreenDisplay(scr), panel->gimage, d, WMColorGC(white),		  0, height*index, 30, height, x + 5, y);    }    WMDrawString(scr, d, black, panel->listFont, x + 40, y + 1,                 text, strlen(text));    WMReleaseColor(white);    WMReleaseColor(black);}