const char
*q;
+ FatalErrorHandler
+ fatal_handler;
+
LocaleInfo
*locale_info;
locale_list=NewSplayTree(CompareSplayTreeString,(void *(*)(void *)) NULL,
DestroyLocaleNode);
if (locale_list == (SplayTreeInfo *) NULL)
- {
- ThrowFileException(exception,ResourceLimitError,
- "MemoryAllocationFailed",filename);
- return(MagickFalse);
- }
+ return(MagickFalse);
}
status=MagickTrue;
locale_info=(LocaleInfo *) NULL;
*tag='\0';
*message='\0';
*keyword='\0';
+ fatal_handler=SetFatalErrorHandler((ErrorHandler) NULL);
token=AcquireString(xml);
for (q=(char *) xml; *q != '\0'; )
{
continue;
}
token=(char *) RelinquishMagickMemory(token);
+ (void) SetFatalErrorHandler(fatal_handler);
return(status);
}
\f
%
% o description: Specifies any description to the reason.
%
-%
*/
static void MACFatalErrorHandler(const ExceptionType severity,
const char *reason,const char *description)