aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/bladerunner/waypoints.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/bladerunner/waypoints.cpp b/engines/bladerunner/waypoints.cpp
index bd78693328..7f709963df 100644
--- a/engines/bladerunner/waypoints.cpp
+++ b/engines/bladerunner/waypoints.cpp
@@ -30,6 +30,7 @@ Waypoints::Waypoints(BladeRunnerEngine *vm, int count) {
}
Waypoints::~Waypoints() {
+ delete[] _waypoints;
}
void Waypoints::getXYZ(int waypointId, float *x, float *y, float *z) {