From a562715d2a1ef808638b840540368b095b03cc60 Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Sun, 14 Jan 2018 00:55:12 +0100 Subject: [PATCH] Fixed setting the domain. --- MagickCore/policy.c | 1 + 1 file changed, 1 insertion(+) 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); } -- 2.40.0