From: Cristy Date: Sun, 18 Feb 2018 14:09:14 +0000 (-0500) Subject: https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=33532 X-Git-Tag: 7.0.7-23~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7c392b26db5df9184843f00e57400c91632dd7cf;p=imagemagick https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=33532 --- 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,