Fix potential memleak

This commit is contained in:
Aurélien Gâteau 2014-07-30 22:37:05 +02:00
parent 9708669ac7
commit 551a6ff9ba

View File

@ -145,6 +145,10 @@ ModuleManager::doInit()
{
m_availableModules.insert( moduleInfo->name(), moduleInfo );
}
else
{
delete moduleInfo;
}
}
else
{