add: WMReleasePixmap(pixmap);
context: updateTGradImage(TexturePanel *panel){    RImage *image, *gradient;    WMPixmap *pixmap;    RColor from;    RColor to;    WMColor *color;    if (!panel->image)	return;        color = WMGetColorWellColor(panel->tcol1W);    from.red = WMRedComponentOfColor(color)>>8;    from.green = WMGreenComponentOfColor(color)>>8;    from.blue = WMBlueComponentOfColor(color)>>8;    color = WMGetColorWellColor(panel->tcol2W);    to.red = WMRedComponentOfColor(color)>>8;    to.green = WMGreenComponentOfColor(color)>>8;    to.blue = WMBlueComponentOfColor(color)>>8;    if (panel->image->width < 141 || panel->image->height < 91) {	image = RMakeTiledImage(panel->image, 141, 91);    } else {	image = RCloneImage(panel->image);    }    if (WMGetButtonSelected(panel->dirhB)) {	gradient = RRenderGradient(image->width, image->height, &from, &to,				   RHorizontalGradient);    } else if (WMGetButtonSelected(panel->dirvB)) {	gradient = RRenderGradient(image->width, image->height, &from, &to,				   RVerticalGradient);    } else {	gradient = RRenderGradient(image->width, image->height, &from, &to,				   RDiagonalGradient);    }    RCombineImagesWithOpaqueness(image, gradient, 				 WMGetSliderValue(panel->topaS));    RDestroyImage(gradient);    pixmap = WMCreatePixmapFromRImage(WMWidgetScreen(panel->win),				      image, 128);    WMSetLabelImage(panel->imageL, pixmap);    WMResizeWidget(panel->imageL, image->width, image->height);    RDestroyImage(image);}