[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/worldmap stat.cxx,1.3,1.4
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/worldmap stat.cxx,1.3,1.4 |
Date: |
22 Aug 2002 00:36:32 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src/worldmap
In directory dark:/tmp/cvs-serv7629/worldmap
Modified Files:
stat.cxx
Log Message:
- replaced some incorrect free()'s with xmlFree()
- added some Free[tm] sounds
- some quirks in the sound code, no fix, but at least it no longer crashes
Index: stat.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/worldmap/stat.cxx,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- stat.cxx 16 Aug 2002 15:14:00 -0000 1.3
+++ stat.cxx 22 Aug 2002 00:36:30 -0000 1.4
@@ -101,24 +101,24 @@
if (id) {
from_string (id, node.id);
- free (id);
+ xmlFree(id);
} else {
std::cout << "PingusWorldMapStat: id missing" << std::endl;
}
if (accessible) {
node.accessible = StringConverter::to_int (accessible);
- free (accessible);
+ xmlFree(accessible);
}
if (finished) {
node.finished = StringConverter::to_int (finished);
- free (finished);
+ xmlFree(finished);
}
if (checksum) {
//node.checksum = StringConverter::to_int (checksum);
- free (checksum);
+ xmlFree(checksum);
}
stats[node.id] = node;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/worldmap stat.cxx,1.3,1.4,
grumbel <=