From: Dirk Lemstra Date: Sat, 13 Jan 2018 23:55:12 +0000 (+0100) Subject: Fixed setting the domain. X-Git-Tag: 7.0.7-22~88 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a562715d2a1ef808638b840540368b095b03cc60;p=imagemagick Fixed setting the domain. --- diff --git a/MagickCore/policy.c b/MagickCore/policy.c index a73c00226..d4aac5433 100644 --- a/MagickCore/policy.c +++ b/MagickCore/policy.c @@ -1162,6 +1162,7 @@ static MagickBooleanType SetPolicyValue(const PolicyDomain domain, (void) ResetMagickMemory(p,0,sizeof(*p)); p->exempt=MagickFalse; p->signature=MagickCoreSignature; + p->domain=domain; p->name=ConstantString(name); status=AppendValueToLinkedList(policy_cache,p); }