{ \
if (montage_image != (Image *) NULL) \
montage_image=DestroyImageList(montage_image); \
+ if (montage_info != (MontageInfo *) NULL) \
+ montage_info=DestroyMontageInfo(montage_info); \
DestroyImageStack(); \
for (i=0; i < (ssize_t) argc; i++) \
argv[i]=DestroyString(argv[i]); \
/*
Write image.
*/
- (void) CopyMagickString(image_info->filename,argv[argc-1],MagickPathExtent);
+ (void) CopyMagickString(image_info->filename,argv[argc-1],
+ MagickPathExtent);
(void) CopyMagickString(montage_image->magick_filename,argv[argc-1],
MagickPathExtent);
if (*montage_image->magick == '\0')
text=DestroyString(text);
}
}
- montage_info=DestroyMontageInfo(montage_info);
DestroyMontage();
return(status != 0 ? MagickTrue : MagickFalse);
}