From: Cristy Date: Sat, 9 Jun 2018 23:10:00 +0000 (-0400) Subject: https://github.com/ImageMagick/ImageMagick/issues/1167 X-Git-Tag: 7.0.7-39~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=09c15a2f41d29a6a01f556ca86f3b92292ceca95;p=imagemagick https://github.com/ImageMagick/ImageMagick/issues/1167 --- diff --git a/MagickCore/exception-private.h b/MagickCore/exception-private.h index 2716b7d6b..8348eebea 100644 --- a/MagickCore/exception-private.h +++ b/MagickCore/exception-private.h @@ -20,6 +20,7 @@ #include "MagickCore/log.h" #include "MagickCore/magick.h" +#include "MagickCore/resource-private.h" #include "MagickCore/string_.h" #if defined(__cplusplus) || defined(c_plusplus) @@ -48,6 +49,7 @@ extern "C" { CatchException(fatal_exception); \ (void) DestroyExceptionInfo(fatal_exception); \ MagickCoreTerminus(); \ + AsynchronousResourceComponentTerminus(); \ _exit((int) (severity-FatalErrorException)+1); \ } #define ThrowFileException(exception,severity,tag,context) \