* Remove initialization of unused "quantize_info" in wand
* Both "quantize_info" and added "draw_info" wand elements for CLI use only
-
2011-09-21 7.0.0-0 Anthony <anthony@griffith...>
* new module "operator.c" which will holds the standard CLI options
icon_image=BlobToImage(read_info,png,length+12,exception);
read_info=DestroyImageInfo(read_info);
png=(unsigned char *) RelinquishMagickMemory(png);
- if (icon_image == (Image *) NULL)
+ if (icon_image != (Image *) NULL)
{
- image=DestroyImageList(image);
- return((Image *) NULL);
+ DestroyBlob(icon_image);
+ icon_image->blob=ReferenceBlob(image->blob);
+ ReplaceImageInList(&image,icon_image);
}
- DestroyBlob(icon_image);
- icon_image->blob=ReferenceBlob(image->blob);
- ReplaceImageInList(&image,icon_image);
}
else
{