aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/hdb/file-manager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hdb/file-manager.cpp b/engines/hdb/file-manager.cpp
index d75c1121ad..7e1e68e9ea 100644
--- a/engines/hdb/file-manager.cpp
+++ b/engines/hdb/file-manager.cpp
@@ -29,12 +29,12 @@ namespace HDB {
FileMan::FileMan() {
_mpcFile = new Common::File;
- for (uint i = 0; i < _dir.size(); i++)
- delete _dir[i];
}
FileMan::~FileMan() {
delete _mpcFile;
+ for (uint i = 0; i < _dir.size(); i++)
+ delete _dir[i];
}
bool FileMan::openMPC(const Common::String &filename) {