From 4e72d445220287727d7886a5f17a10caf944a802 Mon Sep 17 00:00:00 2001 From: Cristy Date: Thu, 11 Jan 2018 06:29:53 -0500 Subject: [PATCH] https://github.com/ImageMagick/ImageMagick/issues/939 --- coders/json.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coders/json.c b/coders/json.c index 0b6737535..ef8d9a8ea 100644 --- a/coders/json.c +++ b/coders/json.c @@ -1529,7 +1529,7 @@ static MagickBooleanType EncodeImageAttributes(Image *image,FILE *file, JSONFormatLocaleFile(file,"%s",value); property=GetNextImageProperty(tile); } - tile=DestroyImage(tile); + tile=DestroyImageList(tile); if (*p != '\0') (void) FormatLocaleFile(file,"\n },"); else -- 2.40.0