From ec880c549a65a18101bff9ba0620796699d94249 Mon Sep 17 00:00:00 2001 From: Thomas Fach-Pedersen Date: Mon, 24 Oct 2016 18:56:07 +0200 Subject: BLADERUNNER: Fix resource leak (CID 1364202) --- engines/bladerunner/waypoints.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/bladerunner') 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) { -- cgit v1.2.3