From 0aebae162476acace5580d3b54109111ff3514ca Mon Sep 17 00:00:00 2001 From: Baptiste Lepilleur Date: Fri, 19 Apr 2002 13:11:38 +0000 Subject: Src/cppunit/PlugInManager. src/cppunit/PlugInManager.cpp: fixed bug in unload(). * include/cppunit/TypeInfoHelper.h: * src/cppunit/TypeInfoHelper.cpp: Implementation is now always available is CPPUNIT_HAVE_RTTI is not 0. This removes the need to use different libraries. CPPUNIT_USE_TYPEINFO_NAME can be set on a case by case basis for HelperMacros. * src/cppunit/TestFactoryRegistry.cpp: removed unused include of TypeInfoHelper.h. * include/cppunit/TextTestProgressListener.h: * src/cppunit/TextTestProgressListener.cpp: used endTest() instead of done() to finalize. * src/msvc6/TestPlugInRunner/TestPlugIn.h: * src/msvc6/TestPlugInRunner/TestPlugIn.cpp: updated to use the new test plug-in system. * examples/simple/SimplePlugIn.cpp: * examples/simple/simple_plugin.dsp: crossplatform test plug-in example using 'simple'. * examples/msvc6/EasyTestPlugIn/*: projects replaced with the crossplatform projecct examples/simple/simple_plugin.dsp. --- src/cppunit/PlugInManager.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/cppunit/PlugInManager.cpp') diff --git a/src/cppunit/PlugInManager.cpp b/src/cppunit/PlugInManager.cpp index ad17a65..f339c63 100644 --- a/src/cppunit/PlugInManager.cpp +++ b/src/cppunit/PlugInManager.cpp @@ -76,6 +76,7 @@ PlugInManager::unload( PlugInInfo &plugIn ) try { plugIn.m_interface->uninitialize( &TestFactoryRegistry::getRegistry() ); + delete plugIn.m_manager; } catch (...) { -- cgit v1.2.1