aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2015-12-21 08:06:14 +0100
committerWillem Jan Palenstijn2015-12-23 21:35:33 +0100
commit46f792d82d580b489e5251388e55644358563534 (patch)
treea236a94dd2645e5fdbf4f7004aed548330da2682 /engines
parent6aad3aebd947867f967ef1292538bede13a6653b (diff)
downloadscummvm-rg350-46f792d82d580b489e5251388e55644358563534.tar.gz
scummvm-rg350-46f792d82d580b489e5251388e55644358563534.tar.bz2
scummvm-rg350-46f792d82d580b489e5251388e55644358563534.zip
LAB: Delete some more variables in LabEngine destructor
Diffstat (limited to 'engines')
-rw-r--r--engines/lab/lab.cpp3
-rw-r--r--engines/lab/lab.h2
2 files changed, 4 insertions, 1 deletions
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;