From 46f792d82d580b489e5251388e55644358563534 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Mon, 21 Dec 2015 08:06:14 +0100 Subject: LAB: Delete some more variables in LabEngine destructor --- engines/lab/lab.cpp | 3 +++ engines/lab/lab.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/lab/lab.cpp b/engines/lab/lab.cpp index 3336870fea..1b92850cd8 100644 --- a/engines/lab/lab.cpp +++ b/engines/lab/lab.cpp @@ -140,7 +140,10 @@ LabEngine::~LabEngine() { for (uint16 i = 1; i <= _manyRooms; i++) _resource->freeViews(i); delete[] _rooms; + delete[] _inventory; + delete _conditions; + delete _roomsFound; delete _event; delete _resource; delete _music; diff --git a/engines/lab/lab.h b/engines/lab/lab.h index 42b1305410..db3ae2a716 100644 --- a/engines/lab/lab.h +++ b/engines/lab/lab.h @@ -39,6 +39,7 @@ #include "engines/savestate.h" #include "lab/image.h" +#include "lab/labsets.h" struct ADGameDescription; @@ -59,7 +60,6 @@ class Anim; class DisplayMan; class EventManager; class Image; -class LargeSet; class Music; class Resource; class TilePuzzle; -- cgit v1.2.3