From: Cristy Date: Sat, 24 Jun 2017 13:34:10 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.6-1~121 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9fd51384c572782d00d1786b11d027344c55763d;p=imagemagick ... --- diff --git a/MagickCore/policy.c b/MagickCore/policy.c index 39d1a11d3..27e31a969 100644 --- a/MagickCore/policy.c +++ b/MagickCore/policy.c @@ -1075,7 +1075,7 @@ MagickExport MagickBooleanType SetMagickSecurityPolicy(const char *policy, status; if (IsPolicyCacheInstantiated(exception) == MagickFalse) - return((PolicyInfo *) NULL); + return(MagickFalse); LockSemaphoreInfo(policy_semaphore); ResetLinkedListIterator(policy_cache); p=(PolicyInfo *) GetNextValueInLinkedList(policy_cache);