From 7c392b26db5df9184843f00e57400c91632dd7cf Mon Sep 17 00:00:00 2001 From: Cristy Date: Sun, 18 Feb 2018 09:09:14 -0500 Subject: [PATCH] https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=33532 --- MagickCore/resource.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/MagickCore/resource.c b/MagickCore/resource.c index 9df603853..7e6741ab8 100644 --- a/MagickCore/resource.c +++ b/MagickCore/resource.c @@ -242,8 +242,6 @@ MagickExport MagickBooleanType AcquireMagickResource(const ResourceType type, if ((limit == MagickResourceInfinity) || (resource_info.file < (MagickOffsetType) limit)) status=MagickTrue; - else - resource_info.file-=(MagickOffsetType) size; if (logging != MagickFalse) { (void) FormatMagickSize(size,MagickFalse,(const char *) NULL, -- 2.40.0