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.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/parallaction/objects.cpp b/engines/parallaction/objects.cpp
index 0d46568106..93ebca5ff1 100644
--- a/engines/parallaction/objects.cpp
+++ b/engines/parallaction/objects.cpp
@@ -131,6 +131,7 @@ Zone::~Zone() {
case kZoneExamine:
free(u.examine->_filename);
free(u.examine->_description);
+ delete u.examine->_cnv;
delete u.examine;
break;
@@ -148,10 +149,7 @@ Zone::~Zone() {
case kZoneGet:
free(u.get->_backup);
- if (u.get->_cnv) {
- u.get->_cnv->free();
- delete u.get->_cnv;
- }
+ delete u.get->_cnv;
delete u.get;
break;