diff options
| author | Sven Hesse | 2009-04-30 15:55:59 +0000 |
|---|---|---|
| committer | Sven Hesse | 2009-04-30 15:55:59 +0000 |
| commit | df9932669a5d8b046f9b78fc7004982adc4b119b (patch) | |
| tree | 10aa27c2d47d9c139e98b2e28202a00d2cd5ba05 | |
| parent | ee10b1a1969313bb9a1d573da14e93875edc25e3 (diff) | |
| download | scummvm-rg350-df9932669a5d8b046f9b78fc7004982adc4b119b.tar.gz scummvm-rg350-df9932669a5d8b046f9b78fc7004982adc4b119b.tar.bz2 scummvm-rg350-df9932669a5d8b046f9b78fc7004982adc4b119b.zip | |
Plugging leaks
svn-id: r40215
| -rw-r--r-- | engines/gob/init.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/gob/init.cpp b/engines/gob/init.cpp index f1af92f773..7f943c068f 100644 --- a/engines/gob/init.cpp +++ b/engines/gob/init.cpp @@ -104,6 +104,9 @@ void Init::initGame() { scnPlayer.play(_vm->_startTot); + delete _palDesc; + _vm->_video->initPrimary(-1); + cleanup(); return; } @@ -114,6 +117,9 @@ void Init::initGame() { batPlayer.play(_vm->_startTot); + delete _palDesc; + _vm->_video->initPrimary(-1); + cleanup(); return; } |
