aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2014-01-11 01:44:24 +0200
committerEugene Sandulenko2014-01-11 11:29:26 +0200
commit17b5082a23514d531baeb1fe59d04468c7092f1d (patch)
treeea90645af77aa93b197e32e655046a6d7cb181b2 /engines
parent570379bc54d06d2188cde748515c5ddcc2b7157b (diff)
downloadscummvm-rg350-17b5082a23514d531baeb1fe59d04468c7092f1d.tar.gz
scummvm-rg350-17b5082a23514d531baeb1fe59d04468c7092f1d.tar.bz2
scummvm-rg350-17b5082a23514d531baeb1fe59d04468c7092f1d.zip
FULLPIPE: Implement MovTable destructor
Diffstat (limited to 'engines')
-rw-r--r--engines/fullpipe/statics.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/fullpipe/statics.h b/engines/fullpipe/statics.h
index b021f5383d..3f1f14c7bf 100644
--- a/engines/fullpipe/statics.h
+++ b/engines/fullpipe/statics.h
@@ -257,6 +257,9 @@ public:
struct MovTable {
int count;
int16 *movs;
+
+ MovTable() { count = 0; movs = 0; }
+ ~MovTable() { free(movs); }
};
} // End of namespace Fullpipe