mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-31 04:25:40 +00:00
Fixed a minor memory leak related to gamelist.xml entries where the file extension was no longer configured in es_systems.xml
This commit is contained in:
parent
a36f866278
commit
4c4529b650
|
@ -83,6 +83,9 @@ namespace GamelistFileParser
|
|||
#endif
|
||||
<< "\" is present in gamelist.xml but the extension is not "
|
||||
"configured in es_systems.xml";
|
||||
// In the unlikely event that this was the only entry in the folder.
|
||||
if (treeNode->getChildren().empty())
|
||||
delete treeNode;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue