add: wfree(buffer);
context: updateSVSlider(WMSlider *sPtr, Bool saturation, WMFont *font, RHSVColor *hsv){    RImage *image;    WMPixmap *pixmap;    WMScreen *scr = WMWidgetScreen(sPtr);    RColor from, to;    RHSVColor tmp;    tmp = *hsv;    if (saturation) {	tmp.saturation = 0;	RHSVtoRGB(&tmp, &from);	tmp.saturation = 255;	RHSVtoRGB(&tmp, &to);    } else {	tmp.value = 0;	RHSVtoRGB(&tmp, &from);	tmp.value = 255;	RHSVtoRGB(&tmp, &to);    }    image = RRenderGradient(130, 16, &from, &to, RHorizontalGradient);    pixmap = WMCreatePixmapFromRImage(scr, image, 128);    RReleaseImage(image);    if (hsv->value < 128 || !saturation) {	WMColor *col = WMWhiteColor(scr);	WMDrawString(scr, WMGetPixmapXID(pixmap), WMColorGC(col), font, 2,		     (16 - WMFontHeight(font))/2 - 1,		     saturation ? "Saturation" : "Brightness", 10);	WMReleaseColor(col);    } else {	WMColor *col = WMBlackColor(scr);	WMDrawString(scr, WMGetPixmapXID(pixmap), WMColorGC(col), font, 2,		     (16 - WMFontHeight(font))/2 - 1,		     saturation ? "Saturation" : "Brightness", 10);	WMReleaseColor(col);    }    WMSetSliderImage(sPtr, pixmap);    WMReleasePixmap(pixmap);}