diff --git a/single_include/catch.hpp b/single_include/catch.hpp index a2796013..ffa159ac 100644 --- a/single_include/catch.hpp +++ b/single_include/catch.hpp @@ -3322,6 +3322,13 @@ namespace Catch { class ExceptionTranslatorRegistry : public IExceptionTranslatorRegistry { + /////////////////////////////////////////////////////////////////////// + ~ExceptionTranslatorRegistry + () + { + deleteAll( m_translators ); + } + /////////////////////////////////////////////////////////////////////// virtual void registerTranslator (