From 727b56dd20ea9807cf3995dbbf9c21deae15a82e Mon Sep 17 00:00:00 2001 From: Cristy Date: Sat, 22 Jun 2019 10:57:51 -0400 Subject: [PATCH] ... --- MagickWand/composite.c | 2 +- MagickWand/operation.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MagickWand/composite.c b/MagickWand/composite.c index 8c4026c7c..0e3f4f418 100644 --- a/MagickWand/composite.c +++ b/MagickWand/composite.c @@ -1666,7 +1666,7 @@ WandExport MagickBooleanType CompositeImageCommand(ImageInfo *image_info, (void) ConcatenateString(&(*metadata),text); text=DestroyString(text); } - images=DestroyImage(images); + images=DestroyImageList(images); RelinquishCompositeOptions(&composite_options); DestroyComposite(); return(status != 0 ? MagickTrue : MagickFalse); diff --git a/MagickWand/operation.c b/MagickWand/operation.c index 2edf8d4b8..9005da588 100644 --- a/MagickWand/operation.c +++ b/MagickWand/operation.c @@ -3988,7 +3988,7 @@ WandPrivate MagickBooleanType CLIListOperatorImages(MagickCLI *cli_wand, CopyAlphaCompositeOp,MagickTrue,0,0,_exception); status&=CompositeImage(clone_image,new_images,OverCompositeOp, clip_to_self,0,0,_exception); - new_images=DestroyImage(new_images); + new_images=DestroyImageList(new_images); new_images=clone_image; } mask_image=DestroyImage(mask_image); -- 2.40.0