mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-26 23:10:38 +00:00
Remove wrong reserve call. Fixes new crash reported in #15932
This commit is contained in:
parent
cd8b79ff59
commit
2193dcafc3
@ -651,7 +651,6 @@ std::vector<PSPFileInfo> ISOFileSystem::GetDirListing(const std::string &path, b
|
||||
const std::string dot(".");
|
||||
const std::string dotdot("..");
|
||||
|
||||
myVector.reserve(entry->children.size() - 2);
|
||||
for (size_t i = 0; i < entry->children.size(); i++) {
|
||||
TreeEntry *e = entry->children[i];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user