Remove the ISOFileSystem freelist, not threadsafe.

This commit is contained in:
Unknown W. Brackets committed 2013-04-13 13:04:39 -07:00
1 parent 914208309f
commit 053b33f5e2
2 files changed
+5 -30

No files matched your search

+2 -6
View File
@@ -54,8 +54,8 @@ private:
TreeEntry(){}
~TreeEntry()
{
for (unsigned int i=0; i<children.size(); i++)
ISOFileSystem::ReleaseTreeEntry(children[i]);
for (size_t i = 0; i < children.size(); ++i)
delete children[i];
children.clear();
}
@@ -94,8 +94,4 @@ private:
void ReadDirectory(u32 startsector, u32 dirsize, TreeEntry *root, size_t level);
TreeEntry *GetFromPath(std::string path, bool catchError=true);
std::string EntryFullPath(TreeEntry *e);
static std::list<ISOFileSystem::TreeEntry *> entryFreeList;
static TreeEntry *GetTreeEntry();
static void ReleaseTreeEntry(TreeEntry *entry);
};