From ae1969fa7f09e83824a88cf3174f2040bf90b5d3 Mon Sep 17 00:00:00 2001 From: cristy Date: Sat, 10 Dec 2011 03:07:36 +0000 Subject: [PATCH] --- MagickCore/fx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MagickCore/fx.c b/MagickCore/fx.c index f60a7e24f..390ea7a3b 100644 --- a/MagickCore/fx.c +++ b/MagickCore/fx.c @@ -4275,10 +4275,10 @@ MagickExport Image *ShadowImage(const Image *image,const double opacity, (void) SetImageBackgroundColor(border_image,exception); channel_mask=SetPixelChannelMask(border_image,AlphaChannel); shadow_image=BlurImage(border_image,0.0,sigma,bias,exception); - (void) SetPixelChannelMapMask(border_image,channel_mask); border_image=DestroyImage(border_image); if (shadow_image == (Image *) NULL) return((Image *) NULL); + (void) SetPixelChannelMapMask(shadow_image,channel_mask); if (shadow_image->page.width == 0) shadow_image->page.width=shadow_image->columns; if (shadow_image->page.height == 0) -- 2.50.1