From: Cristy Date: Tue, 30 Jan 2018 00:56:18 +0000 (-0500) Subject: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5808 X-Git-Tag: 7.0.7-23~215 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3b6e0ebe860f597bf07f720b4bb2b5b5b91cb80d;p=imagemagick https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5808 --- 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); }