aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/package/packagemanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword25/package/packagemanager.cpp')
-rw-r--r--engines/sword25/package/packagemanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword25/package/packagemanager.cpp b/engines/sword25/package/packagemanager.cpp
index 5c869203c6..5549f50c3c 100644
--- a/engines/sword25/package/packagemanager.cpp
+++ b/engines/sword25/package/packagemanager.cpp
@@ -157,7 +157,7 @@ byte *PackageManager::getFile(const Common::String &fileName, uint *fileSizePtr)
byte *buffer = new byte[file->size()];
file->read(buffer, file->size());
-
+
delete file;
return buffer;
}