aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/lab/engine.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/lab/engine.cpp b/engines/lab/engine.cpp
index 6cf86c2a12..ad9cd9ba6c 100644
--- a/engines/lab/engine.cpp
+++ b/engines/lab/engine.cpp
@@ -549,6 +549,11 @@ void LabEngine::mainGameLoop() {
delete _roomsFound;
delete[] _rooms;
delete[] _inventory;
+
+ _conditions = nullptr;
+ _roomsFound = nullptr;
+ _rooms = nullptr;
+ _inventory = nullptr;
}
void LabEngine::showLab2Teaser() {