aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorDenis Kasak2009-06-15 03:50:45 +0000
committerDenis Kasak2009-06-15 03:50:45 +0000
commitea3cf319388b01659e04a563314b0de81619fb9c (patch)
tree537e444349fb9a192cf93a55a1df5734c6db859f /engines
parent326cf7e735062d399f6fe5f2ae79ac8f34e8b61b (diff)
downloadscummvm-rg350-ea3cf319388b01659e04a563314b0de81619fb9c.tar.gz
scummvm-rg350-ea3cf319388b01659e04a563314b0de81619fb9c.tar.bz2
scummvm-rg350-ea3cf319388b01659e04a563314b0de81619fb9c.zip
Close a file after we're done using it.
svn-id: r41534
Diffstat (limited to 'engines')
-rw-r--r--engines/draci/barchive.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/draci/barchive.cpp b/engines/draci/barchive.cpp
index 7865b1b574..c3117cd0f2 100644
--- a/engines/draci/barchive.cpp
+++ b/engines/draci/barchive.cpp
@@ -116,6 +116,8 @@ void BArchive::openDFW(const Common::String &path) {
}
delete[] table;
+
+ f.close();
}
/**