diff options
author | Strangerke | 2015-12-15 19:09:33 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-12-23 21:34:05 +0100 |
commit | 75d1a3a22a03e6379a50c82811a52d35ab8d26c5 (patch) | |
tree | cbbb05e4daa44c84c1506a3077b7e947bafbaf3e | |
parent | f791d690b2f97d5a1c49f28ef53ecf1a508b8ff6 (diff) | |
download | scummvm-rg350-75d1a3a22a03e6379a50c82811a52d35ab8d26c5.tar.gz scummvm-rg350-75d1a3a22a03e6379a50c82811a52d35ab8d26c5.tar.bz2 scummvm-rg350-75d1a3a22a03e6379a50c82811a52d35ab8d26c5.zip |
LAB: Fix freePict as pointed by eriktorbjorn
-rw-r--r-- | engines/lab/dispman.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lab/dispman.cpp b/engines/lab/dispman.cpp index f35db01373..28d691a963 100644 --- a/engines/lab/dispman.cpp +++ b/engines/lab/dispman.cpp @@ -114,8 +114,8 @@ void DisplayMan::readPict(const char *filename, bool playOnce, bool onlyDiffData } void DisplayMan::freePict() { - delete _curBitmap; - _curBitmap = NULL; + delete[] _curBitmap; + _curBitmap = nullptr; } //--------------------------------------------------------------------------- |