1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Fix memory leak in FileScanner

This commit is contained in:
Michał Janiszewski
2016-10-23 22:27:15 +02:00
parent 8894be6a6d
commit a75c1f1bc4

View File

@@ -311,7 +311,9 @@ protected:
DirectoryChild child = CreateChild(path, node);
children.push_back(child);
}
free(namelist[i]);
}
free(namelist);
}
}