Skip to content

Commit

Permalink
Deleting INI group object when removing.
Browse files Browse the repository at this point in the history
  • Loading branch information
MainMemory committed Feb 6, 2016
1 parent 9463f49 commit 522ce7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SA2ModLoader/IniFile.cpp
Expand Up @@ -532,6 +532,7 @@ bool IniFile::removeGroup(const string &section)
{
if (hasGroup(section))
{
delete m_groups[section];
m_groups.erase(section);
return true;
}
Expand Down

0 comments on commit 522ce7d

Please sign in to comment.