aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/disk_archive.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-01-03 15:00:50 -0500
committerbunnei <bunneidev@gmail.com>2015-01-03 15:00:50 -0500
commita0cb320bad1e19e6a709183c2e5c7c44a43f27a1 (patch)
tree3dd1a96521740d1e75a1ce4578abed271b7853b1 /src/core/file_sys/disk_archive.h
parentedbb47d967ef3181ef9746e38d1aac10384575d1 (diff)
parent19b2e739c5b7c26d8d92763204a4f626e6ea8c52 (diff)
Merge pull request #400 from yuriks/filesys-leak
FileSys: Fix a few memory leaks
Diffstat (limited to 'src/core/file_sys/disk_archive.h')
-rw-r--r--src/core/file_sys/disk_archive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/disk_archive.h b/src/core/file_sys/disk_archive.h
index f18d96f5a..4663a9591 100644
--- a/src/core/file_sys/disk_archive.h
+++ b/src/core/file_sys/disk_archive.h
@@ -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 {