diff options
| author | Strangerke | 2015-12-20 18:05:17 +0100 |
|---|---|---|
| committer | Willem Jan Palenstijn | 2015-12-23 21:35:32 +0100 |
| commit | 2eeb027604a470b8e5410751962734b677d605f1 (patch) | |
| tree | 256e3ae0afde08b4cd19bf1e62eeb3b93144c4ab | |
| parent | eba44d30949a9c4e9dc996a35b41c891fba8edf9 (diff) | |
| download | scummvm-rg350-2eeb027604a470b8e5410751962734b677d605f1.tar.gz scummvm-rg350-2eeb027604a470b8e5410751962734b677d605f1.tar.bz2 scummvm-rg350-2eeb027604a470b8e5410751962734b677d605f1.zip | |
LAB: Revert previous commit as suggested by wjp
| -rw-r--r-- | engines/lab/dispman.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/engines/lab/dispman.cpp b/engines/lab/dispman.cpp index 1123f94d61..d493e935c5 100644 --- a/engines/lab/dispman.cpp +++ b/engines/lab/dispman.cpp @@ -105,11 +105,8 @@ void DisplayMan::readPict(const Common::String filename, bool playOnce, bool onl } void DisplayMan::freePict() { - if (_curBitmap) { - _curBitmap->close(); - delete _curBitmap; - _curBitmap = nullptr; - } + delete _curBitmap; + _curBitmap = nullptr; } Common::String DisplayMan::getWord(const char *mainBuffer) { |
