diff options
| author | Eugene Sandulenko | 2014-01-11 01:44:24 +0200 |
|---|---|---|
| committer | Eugene Sandulenko | 2014-01-11 11:29:26 +0200 |
| commit | 17b5082a23514d531baeb1fe59d04468c7092f1d (patch) | |
| tree | ea90645af77aa93b197e32e655046a6d7cb181b2 | |
| parent | 570379bc54d06d2188cde748515c5ddcc2b7157b (diff) | |
| download | scummvm-rg350-17b5082a23514d531baeb1fe59d04468c7092f1d.tar.gz scummvm-rg350-17b5082a23514d531baeb1fe59d04468c7092f1d.tar.bz2 scummvm-rg350-17b5082a23514d531baeb1fe59d04468c7092f1d.zip | |
FULLPIPE: Implement MovTable destructor
| -rw-r--r-- | engines/fullpipe/statics.h | 3 |
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 |
