mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 04:51:19 +00:00
- fixed: ConfigSections were not properly deallocated
This commit is contained in:
parent
355f70986a
commit
78deb70a00
1 changed files with 1 additions and 2 deletions
|
@ -368,8 +368,7 @@ bool FConfigFile::DeleteCurrentSection()
|
|||
LastSectionPtr = &sec->Next;
|
||||
}
|
||||
|
||||
CurrentSection->~FConfigSection();
|
||||
delete[] (char *)CurrentSection;
|
||||
delete CurrentSection;
|
||||
|
||||
CurrentSection = sec->Next;
|
||||
return CurrentSection != NULL;
|
||||
|
|
Loading…
Reference in a new issue