mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 02:15:36 -04:00
Fix potential memleak
This commit is contained in:
parent
9708669ac7
commit
551a6ff9ba
1 changed files with 4 additions and 0 deletions
|
@ -145,6 +145,10 @@ ModuleManager::doInit()
|
||||||
{
|
{
|
||||||
m_availableModules.insert( moduleInfo->name(), moduleInfo );
|
m_availableModules.insert( moduleInfo->name(), moduleInfo );
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
delete moduleInfo;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue