mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 01:45: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 );
|
||||
}
|
||||
else
|
||||
{
|
||||
delete moduleInfo;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue