From 17b5082a23514d531baeb1fe59d04468c7092f1d Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 11 Jan 2014 01:44:24 +0200 Subject: FULLPIPE: Implement MovTable destructor --- engines/fullpipe/statics.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines/fullpipe/statics.h') 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 -- cgit v1.2.3