[Scummvm-cvs-logs] CVS: scummvm/simon sound.cpp,1.31,1.32
Travis Howell
kirben at users.sourceforge.net
Thu Jul 24 05:33:34 CEST 2003
Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1:/tmp/cvs-serv960/simon
Modified Files:
sound.cpp
Log Message:
Another leak
Index: sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/sound.cpp,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- sound.cpp 24 Jul 2003 12:05:06 -0000 1.31
+++ sound.cpp 24 Jul 2003 12:32:56 -0000 1.32
@@ -387,6 +387,9 @@
}
}
+ if (_effects)
+ delete _effects;
+
if (_game == GAME_SIMON1CD32) {
_effects = new VocSound(_mixer, file, 0, SOUND_BIG_ENDIAN);
} else
More information about the Scummvm-git-logs
mailing list