aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic')
-rw-r--r--engines/titanic/star_control/star_points1.cpp1
-rw-r--r--engines/titanic/star_control/star_points2.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/engines/titanic/star_control/star_points1.cpp b/engines/titanic/star_control/star_points1.cpp
index d8a0bdc405..0328743a98 100644
--- a/engines/titanic/star_control/star_points1.cpp
+++ b/engines/titanic/star_control/star_points1.cpp
@@ -56,6 +56,7 @@ bool CStarPoints1::initialize() {
entry._z = sin(v2) * 3000000.0;
}
+ delete stream;
return true;
}
diff --git a/engines/titanic/star_control/star_points2.cpp b/engines/titanic/star_control/star_points2.cpp
index 23cef4ce4c..aa5444f16b 100644
--- a/engines/titanic/star_control/star_points2.cpp
+++ b/engines/titanic/star_control/star_points2.cpp
@@ -61,6 +61,7 @@ bool CStarPoints2::initialize() {
}
}
+ delete stream;
return true;
}