aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
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;