Bläddra i källkod

Do not take ownership of the module instance factory.

Sascha Zelzer 13 år sedan
förälder
incheckning
e4fd9a56d8
1 ändrade filer med 0 tillägg och 1 borttagningar
  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