aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/teenagent/pack.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/teenagent/pack.cpp b/engines/teenagent/pack.cpp
index 38a361fd60..c342ea7134 100644
--- a/engines/teenagent/pack.cpp
+++ b/engines/teenagent/pack.cpp
@@ -114,6 +114,7 @@ bool TransientFilePack::open(const Common::String &filename) {
for (uint32 i = 0; i <= _fileCount; ++i) {
offsets[i] = file.readUint32LE();
}
+ file.close();
return true;
}