[Scummvm-git-logs] scummvm master -> 8b9d9bcf84d233494a5b4cd4527d682286d6e8f2
waltervn
walter at vanniftrik-it.nl
Mon Mar 6 17:01:56 CET 2017
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
8b9d9bcf84 ADL: Fix incorrect delete (CID 1371758)
Commit: 8b9d9bcf84d233494a5b4cd4527d682286d6e8f2
https://github.com/scummvm/scummvm/commit/8b9d9bcf84d233494a5b4cd4527d682286d6e8f2
Author: Walter van Niftrik (walter at scummvm.org)
Date: 2017-03-06T17:01:26+01:00
Commit Message:
ADL: Fix incorrect delete (CID 1371758)
Changed paths:
engines/adl/hires4.cpp
diff --git a/engines/adl/hires4.cpp b/engines/adl/hires4.cpp
index 5f9b279..a76b424 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;
More information about the Scummvm-git-logs
mailing list