FileSys: Fix a few memory leaks

This commit is contained in:
Yuri Kunde Schlesner
2015-01-03 17:15:53 -02:00
parent edbb47d967
commit 19b2e739c5
2 changed files with 7 additions and 6 deletions

View File

@ -75,7 +75,7 @@ protected:
const DiskArchive* archive;
std::string path;
Mode mode;
FileUtil::IOFile* file;
std::unique_ptr<FileUtil::IOFile> file;
};
class DiskDirectory : public DirectoryBackend {