aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner
diff options
context:
space:
mode:
authorThomas Fach-Pedersen2016-10-24 18:56:07 +0200
committerThomas Fach-Pedersen2016-10-24 19:40:18 +0200
commitec880c549a65a18101bff9ba0620796699d94249 (patch)
tree4590a711871a916c6c21042b03fd762b40600632 /engines/bladerunner
parent31ffd4d2e80e83b70fc9311583e892d44980ede3 (diff)
downloadscummvm-rg350-ec880c549a65a18101bff9ba0620796699d94249.tar.gz
scummvm-rg350-ec880c549a65a18101bff9ba0620796699d94249.tar.bz2
scummvm-rg350-ec880c549a65a18101bff9ba0620796699d94249.zip
BLADERUNNER: Fix resource leak (CID 1364202)
Diffstat (limited to 'engines/bladerunner')
-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) {