mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-03-06 14:27:43 +00:00
Fixed a small memory leak.
This commit is contained in:
parent
2768380446
commit
b83bacc160
|
@ -349,6 +349,7 @@ bool SystemData::loadConfig()
|
|||
LOG(LogDebug) << "SystemData::loadConfig(): System \"" << name <<
|
||||
"\" has no games, ignoring it.";
|
||||
delete newSys;
|
||||
delete envData;
|
||||
}
|
||||
else {
|
||||
sSystemVector.push_back(newSys);
|
||||
|
|
Loading…
Reference in a new issue