Fixed a small memory leak.

This commit is contained in:
Leon Styhre 2020-10-11 20:54:37 +02:00
parent 2768380446
commit b83bacc160

View file

@ -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);