(void) HaldClutImageChannel(image,channel,hald_image);
hald_image=DestroyImage(hald_image);
InheritException(exception,&image->exception);
- *images=DestroyImageList(*images);
+ if (*images != (Image *) NULL)
+ *images=DestroyImageList(*images);
*images=image;
break;
}
phase_image,*option == '-' ? MagickTrue : MagickFalse,exception);
if (fourier_image == (Image *) NULL)
break;
- *images=DestroyImage(*images);
+ if (*images != (Image *) NULL)
+ *images=DestroyImage(*images);
*images=fourier_image;
break;
}