aboutsummaryrefslogtreecommitdiff
path: root/engines/macventure/script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/macventure/script.cpp')
-rw-r--r--engines/macventure/script.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/macventure/script.cpp b/engines/macventure/script.cpp
index a051ca8f75..5aa8e3cc19 100644
--- a/engines/macventure/script.cpp
+++ b/engines/macventure/script.cpp
@@ -1208,6 +1208,7 @@ void ScriptAsset::loadInstructions() {
for (uint i = 0; i < amount; i++) {
_instructions.push_back(res->readByte());
}
+ delete res;
debugC(2, kMVDebugScript, "SCRIPT: Load %d instructions for script %d", amount, _id);
}