mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	Fix for GitHub issue #71
Fixed memory leak in exception translator registry
This commit is contained in:
		| @@ -18,6 +18,13 @@ namespace Catch | ||||
| {     | ||||
|     class ExceptionTranslatorRegistry : public IExceptionTranslatorRegistry | ||||
|     { | ||||
|         /////////////////////////////////////////////////////////////////////// | ||||
|         ~ExceptionTranslatorRegistry | ||||
|         () | ||||
|         { | ||||
|             deleteAll( m_translators ); | ||||
|         } | ||||
|          | ||||
|         /////////////////////////////////////////////////////////////////////// | ||||
|         virtual void registerTranslator | ||||
|         (    | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Phil Nash
					Phil Nash