From: Cristy Date: Sun, 10 Jun 2018 14:48:52 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.7-39~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=abe5cfb09b0f15a8ed202522cc238f7dd52a0d70;p=imagemagick ... --- diff --git a/MagickCore/exception-private.h b/MagickCore/exception-private.h index b3d948f6d..2716b7d6b 100644 --- a/MagickCore/exception-private.h +++ b/MagickCore/exception-private.h @@ -20,7 +20,6 @@ #include "MagickCore/log.h" #include "MagickCore/magick.h" -#include "MagickCore/resource-private.h" #include "MagickCore/string_.h" #if defined(__cplusplus) || defined(c_plusplus) @@ -48,7 +47,6 @@ extern "C" { fatal_message=DestroyString(fatal_message); \ CatchException(fatal_exception); \ (void) DestroyExceptionInfo(fatal_exception); \ - AsynchronousResourceComponentTerminus(); \ MagickCoreTerminus(); \ _exit((int) (severity-FatalErrorException)+1); \ } diff --git a/MagickCore/magick.c b/MagickCore/magick.c index bb156a805..aedf69cc2 100644 --- a/MagickCore/magick.c +++ b/MagickCore/magick.c @@ -1580,6 +1580,7 @@ MagickExport void MagickCoreTerminus(void) ModuleComponentTerminus(); #endif CoderComponentTerminus(); + AsynchronousResourceComponentTerminus(); ResourceComponentTerminus(); CacheComponentTerminus(); PolicyComponentTerminus();