https://github.com/ImageMagick/ImageMagick/issues/304).
* Permit EPT images with just a TIFF or EPS image, not both (reference
https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=30921).
+ * The -clone option no longer leaks memory.
2016-11-15 7.0.3-7 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 7.0.3-7, GIT revision 19024:87aca83:20161115.
% The format of the CloneSplayTree method is:
%
% SplayTreeInfo *CloneSplayTree(SplayTreeInfo *splay_tree,
-% void *(*clone_key)(void *),void *(*cline_value)(void *))
+% void *(*clone_key)(void *),void *(*clone_value)(void *))
%
% A description of each parameter follows:
%
*clone_images,
*clone_list;
- clone_list=CloneImageList(image,exception);
- if (k != 0)
+ if (k == 0)
+ clone_list=CloneImageList(image,exception);
+ else
clone_list=CloneImageList(image_stack[k-1].image,exception);
if (clone_list == (Image *) NULL)
ThrowConvertException(ImageError,"ImageSequenceRequired",option);
*clone_images,
*clone_list;
- clone_list=CloneImageList(image,exception);
- if (k != 0)
+ if (k == 0)
+ clone_list=CloneImageList(image,exception);
+ else
clone_list=CloneImageList(image_stack[k-1].image,exception);
if (clone_list == (Image *) NULL)
ThrowMontageException(ImageError,"ImageSequenceRequired",option);