From 3b6e0ebe860f597bf07f720b4bb2b5b5b91cb80d Mon Sep 17 00:00:00 2001 From: Cristy Date: Mon, 29 Jan 2018 19:56:18 -0500 Subject: [PATCH] https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5808 --- coders/pcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coders/pcd.c b/coders/pcd.c index c60f65ef1..62be38999 100644 --- a/coders/pcd.c +++ b/coders/pcd.c @@ -411,7 +411,7 @@ static Image *OverviewImage(const ImageInfo *image_info,Image *image, montage_info=DestroyMontageInfo(montage_info); if (montage_image == (Image *) NULL) ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed"); - image=DestroyImage(image); + image=DestroyImageList(image); return(montage_image); } -- 2.40.0