From: Cristy Date: Sun, 14 May 2017 18:01:07 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.5-7~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2558ec0ab5e3cf347fd0e8454c0daf2054596260;p=imagemagick ... --- diff --git a/MagickCore/policy.c b/MagickCore/policy.c index d74b54fcb..f395d507f 100644 --- a/MagickCore/policy.c +++ b/MagickCore/policy.c @@ -179,7 +179,10 @@ static LinkedListInfo *AcquirePolicyCache(const char *filename, if (cache == (LinkedListInfo *) NULL) ThrowFatalException(ResourceLimitFatalError,"MemoryAllocationFailed"); status=MagickTrue; -#if !defined(MAGICKCORE_ZERO_CONFIGURATION_SUPPORT) +#if defined(MAGICKCORE_ZERO_CONFIGURATION_SUPPORT) + status=LoadPolicyCache(cache,ZeroConfigurationPolicy,"ZeroConfiguration",0, + exception); +#else { const StringInfo *option;