summaryrefslogtreecommitdiff
path: root/src/cppunit/PlugInManager.cpp
diff options
context:
space:
mode:
authorBaptiste Lepilleur <gaiacrtn@free.fr>2002-04-19 13:11:38 +0000
committerBaptiste Lepilleur <gaiacrtn@free.fr>2002-04-19 13:11:38 +0000
commit0aebae162476acace5580d3b54109111ff3514ca (patch)
treeea7f2a17f2dc458026d5322fa07acb8ffe2ce8b7 /src/cppunit/PlugInManager.cpp
parent626e37841cfedef589fecb975876e7d22986cfb7 (diff)
downloadcppunit-0aebae162476acace5580d3b54109111ff3514ca.tar.gz
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.
Diffstat (limited to 'src/cppunit/PlugInManager.cpp')
-rw-r--r--src/cppunit/PlugInManager.cpp1
1 files changed, 1 insertions, 0 deletions
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 (...)
{