[Scummvm-cvs-logs] CVS: scummvm/simon sound.cpp,1.29.2.2,1.29.2.3

Travis Howell kirben at users.sourceforge.net
Thu Jul 24 05:33:36 CEST 2003


Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1:/tmp/cvs-serv812/simon

Modified Files:
      Tag: branch-0-5-0
	sound.cpp 
Log Message:

Another leak


Index: sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/sound.cpp,v
retrieving revision 1.29.2.2
retrieving revision 1.29.2.3
diff -u -d -r1.29.2.2 -r1.29.2.3
--- sound.cpp	24 Jul 2003 12:03:56 -0000	1.29.2.2
+++ sound.cpp	24 Jul 2003 12:31:59 -0000	1.29.2.3
@@ -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