[Scummvm-cvs-logs] SF.net SVN: scummvm: [32065] scummvm/trunk/engines/kyra
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Mon May 12 19:23:29 CEST 2008
Revision: 32065
http://scummvm.svn.sourceforge.net/scummvm/?rev=32065&view=rev
Author: lordhoto
Date: 2008-05-12 10:23:28 -0700 (Mon, 12 May 2008)
Log Message:
-----------
Fixed some valgrind warnings.
Modified Paths:
--------------
scummvm/trunk/engines/kyra/kyra_mr.cpp
scummvm/trunk/engines/kyra/screen.cpp
Modified: scummvm/trunk/engines/kyra/kyra_mr.cpp
===================================================================
--- scummvm/trunk/engines/kyra/kyra_mr.cpp 2008-05-12 16:36:09 UTC (rev 32064)
+++ scummvm/trunk/engines/kyra/kyra_mr.cpp 2008-05-12 17:23:28 UTC (rev 32065)
@@ -147,6 +147,7 @@
_albumChatActive = false;
memset(&_album, 0, sizeof(_album));
_configHelium = false;
+ _fadeOutMusicChannel = -1;
}
KyraEngine_MR::~KyraEngine_MR() {
@@ -816,7 +817,7 @@
ShapeMap::iterator iter = _gameShapes.find(i);
if (iter != _gameShapes.end()) {
- delete iter->_value;
+ delete[] iter->_value;
iter->_value = 0;
}
}
Modified: scummvm/trunk/engines/kyra/screen.cpp
===================================================================
--- scummvm/trunk/engines/kyra/screen.cpp 2008-05-12 16:36:09 UTC (rev 32064)
+++ scummvm/trunk/engines/kyra/screen.cpp 2008-05-12 17:23:28 UTC (rev 32065)
@@ -36,6 +36,7 @@
Screen::Screen(KyraEngine_v1 *vm, OSystem *system)
: _system(system), _vm(vm), _sjisInvisibleColor(0) {
_debugEnabled = false;
+ _maskMinY = _maskMaxY = -1;
}
Screen::~Screen() {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list