diff options
author | Thomas Fach-Pedersen | 2016-10-24 18:56:07 +0200 |
---|---|---|
committer | Thomas Fach-Pedersen | 2016-10-24 19:40:18 +0200 |
commit | ec880c549a65a18101bff9ba0620796699d94249 (patch) | |
tree | 4590a711871a916c6c21042b03fd762b40600632 /engines/bladerunner | |
parent | 31ffd4d2e80e83b70fc9311583e892d44980ede3 (diff) | |
download | scummvm-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.cpp | 1 |
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) { |