[Scummvm-cvs-logs] CVS: scummvm/sword2 resman.cpp,1.76,1.77

Torbj?rn Andersson eriktorbjorn at users.sourceforge.net
Sun Dec 7 23:31:00 CET 2003


Update of /cvsroot/scummvm/scummvm/sword2
In directory sc8-pr-cvs1:/tmp/cvs-serv13858

Modified Files:
	resman.cpp 
Log Message:
Shut up Valgrind warnings.


Index: resman.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword2/resman.cpp,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -d -r1.76 -r1.77
--- resman.cpp	28 Nov 2003 07:55:25 -0000	1.76
+++ resman.cpp	8 Dec 2003 07:30:22 -0000	1.77
@@ -165,7 +165,7 @@
 			_cdTab[j] = cdInf[i].cd;
 	}
 
-	delete cdInf;
+	delete [] cdInf;
 
 	debug(5, "%d resources in %d cluster files", _totalResFiles, _totalClusters);
 	for (j = 0; j < _totalClusters; j++)





More information about the Scummvm-git-logs mailing list