Fixed a memory leak when filtering MAME BIOSes and devices.

This commit is contained in:
Leon Styhre 2021-02-28 16:37:22 +01:00
parent 74c7254c6a
commit e0e358e5f4

View file

@ -147,6 +147,9 @@ bool SystemData::populateFolder(FileData* folder)
folder->addChild(newGame);
isGame = true;
}
else {
delete newGame;
}
}
// Add directories that also do not match an extension as folders.