aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/objects.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/parallaction/objects.cpp')
-rw-r--r--engines/parallaction/objects.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/parallaction/objects.cpp b/engines/parallaction/objects.cpp
index 1135724cd5..337e213dfd 100644
--- a/engines/parallaction/objects.cpp
+++ b/engines/parallaction/objects.cpp
@@ -123,6 +123,8 @@ Zone::Zone() {
_type = 0;
_flags = 0;
+ _label = 0;
+
memset(_name, 0, ZONENAME_LENGTH);
}
@@ -166,6 +168,8 @@ Zone::~Zone() {
default:
break;
}
+
+ delete _label;
}
void Zone::getRect(Common::Rect& r) const {