ResourceLimitError,"MemoryAllocationFailed","`%s'",
policy_info->name);
policy_info=(PolicyInfo *) NULL;
+ continue;
}
GetMagickToken(q,(const char **) NULL,token);
if (*token != '=')
if (policy_info == (PolicyInfo *) NULL)
{
(void) ThrowMagickException(exception,GetMagickModule(),
- ResourceLimitError,"MemoryAllocationFailed","`%s'",policy_info->name);
+ ResourceLimitError,"MemoryAllocationFailed","`%s'",p->name);
continue;
}
(void) ResetMagickMemory(policy_info,0,sizeof(*policy_info));
(void) ThrowMagickException(exception,GetMagickModule(),
ResourceLimitError,"MemoryAllocationFailed","`%s'",type_info->name);
type_info=(TypeInfo *) NULL;
+ continue;
}
GetMagickToken(q,(const char **) NULL,token);
if (*token != '=')
{
CurrentContext->dash_pattern=(double *) AcquireQuantumMemory((size_t)
n_new+1UL,sizeof(*CurrentContext->dash_pattern));
- if (!CurrentContext->dash_pattern)
+ if (CurrentContext->dash_pattern == (double *) NULL)
{
ThrowDrawException(ResourceLimitError,"MemoryAllocationFailed",
wand->name);