diff options
author | Walter van Niftrik | 2017-03-06 16:53:41 +0100 |
---|---|---|
committer | Walter van Niftrik | 2017-03-06 17:01:26 +0100 |
commit | 8b9d9bcf84d233494a5b4cd4527d682286d6e8f2 (patch) | |
tree | d2df53ede1aa1237acec9ba7c54df2dbeda020ab /engines | |
parent | 1f9f40cade9d65a9ea4ca0d7515468d62d210abe (diff) | |
download | scummvm-rg350-8b9d9bcf84d233494a5b4cd4527d682286d6e8f2.tar.gz scummvm-rg350-8b9d9bcf84d233494a5b4cd4527d682286d6e8f2.tar.bz2 scummvm-rg350-8b9d9bcf84d233494a5b4cd4527d682286d6e8f2.zip |
ADL: Fix incorrect delete (CID 1371758)
Diffstat (limited to 'engines')
-rw-r--r-- | engines/adl/hires4.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/adl/hires4.cpp b/engines/adl/hires4.cpp index 5f9b2790bb..a76b42471e 100644 --- a/engines/adl/hires4.cpp +++ b/engines/adl/hires4.cpp @@ -212,14 +212,14 @@ void HiRes4Engine::runIntroLogo(Common::SeekableReadStream &ms2) { _display->updateHiResScreen(); if (shouldQuit()) { - delete logo; + delete[] logo; return; } delay(7); } - delete logo; + delete[] logo; for (uint i = 38; i != 0; --i) { Common::Point p; |