From 930e13cb2cb3415721eda2b12fa7e743f32f5cfb Mon Sep 17 00:00:00 2001 From: Yuri Kunde Schlesner Date: Sat, 3 Jan 2015 18:28:04 -0200 Subject: FileSys: Fix crash bug in DiskFile exposed by #400 --- src/core/file_sys/disk_archive.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/core/file_sys') diff --git a/src/core/file_sys/disk_archive.h b/src/core/file_sys/disk_archive.h index 4663a9591..3472f6874 100644 --- a/src/core/file_sys/disk_archive.h +++ b/src/core/file_sys/disk_archive.h @@ -56,10 +56,6 @@ public: DiskFile(); DiskFile(const DiskArchive* archive, const Path& path, const Mode mode); - ~DiskFile() override { - Close(); - } - bool Open() override; size_t Read(const u64 offset, const u32 length, u8* buffer) const override; size_t Write(const u64 offset, const u32 length, const u32 flush, const u8* buffer) const override; -- cgit v1.2.3