diff options
author | Strangerke | 2015-12-15 19:56:44 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-12-23 21:34:06 +0100 |
commit | 6193626f7cb7d5776fb8f20d159f0e9fcb1a1843 (patch) | |
tree | 5edf16d0934d984cf642d64861271ee7a7f83f42 /engines/lab | |
parent | fbff6313b58bda9101d858154c88c8302e0074bf (diff) | |
download | scummvm-rg350-6193626f7cb7d5776fb8f20d159f0e9fcb1a1843.tar.gz scummvm-rg350-6193626f7cb7d5776fb8f20d159f0e9fcb1a1843.tar.bz2 scummvm-rg350-6193626f7cb7d5776fb8f20d159f0e9fcb1a1843.zip |
LAB: Fix two deletes
Diffstat (limited to 'engines/lab')
-rw-r--r-- | engines/lab/engine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lab/engine.cpp b/engines/lab/engine.cpp index fc32cba5c5..cd9af7a038 100644 --- a/engines/lab/engine.cpp +++ b/engines/lab/engine.cpp @@ -588,10 +588,10 @@ void LabEngine::mainGameLoop() { if (_inventory) { for (int i = 1; i <= _numInv; i++) { if (_inventory[i]._name) - delete _inventory[i]._name; + delete[] _inventory[i]._name; if (_inventory[i]._bitmapName) - delete _inventory[i]._bitmapName; + delete[] _inventory[i]._bitmapName; } delete[] _inventory; |