Browse Source

Do not take ownership of the module instance factory.

Sascha Zelzer 13 years ago
parent
commit
e4fd9a56d8
1 changed files with 0 additions and 1 deletions
  1. 0 1
      Libs/CommandLineModules/Core/ctkCmdLineModuleManager.cpp

+ 0 - 1
Libs/CommandLineModules/Core/ctkCmdLineModuleManager.cpp

@@ -50,7 +50,6 @@ ctkCmdLineModuleManager::ctkCmdLineModuleManager(ctkCmdLineModuleInstanceFactory
 
 ctkCmdLineModuleManager::~ctkCmdLineModuleManager()
 {
-  delete d->InstanceFactory;
 }
 
 ctkCmdLineModuleReference