[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/backgrounds starfield_background.cxx,
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/backgrounds starfield_background.cxx,1.6,1.7 |
Date: |
22 Aug 2002 00:36:32 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src/backgrounds
In directory dark:/tmp/cvs-serv7629/backgrounds
Modified Files:
starfield_background.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: starfield_background.cxx
===================================================================
RCS file:
/usr/local/cvsroot/Games/Pingus/src/backgrounds/starfield_background.cxx,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- starfield_background.cxx 17 Aug 2002 17:56:23 -0000 1.6
+++ starfield_background.cxx 22 Aug 2002 00:36:30 -0000 1.7
@@ -64,7 +64,7 @@
if (count)
{
small_stars_count = StringConverter::to_int(count);
- free (count);
+ xmlFree(count);
}
}
else if (strcmp((char*)cur->name, "middle-stars") == 0)
@@ -73,7 +73,7 @@
if (count)
{
middle_stars_count = StringConverter::to_int(count);
- free (count);
+ xmlFree(count);
}
}
else if (strcmp((char*)cur->name, "large-stars") == 0)
@@ -82,7 +82,7 @@
if (count)
{
large_stars_count = StringConverter::to_int(count);
- free (count);
+ xmlFree(count);
}
}
else
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/backgrounds starfield_background.cxx,1.6,1.7,
grumbel <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src Makefile.am,1.89,1.90 algo.cxx,1.2,1.3 console.cxx,1.6,1.7 entrance_data.cxx,1.4,1.5 exit_data.cxx,1.3,1.4 groundpiece_data.cxx,1.5,1.6 liquid.cxx,1.2,1.3 liquid_data.cxx,1.4,1.5 plt_xml.cxx,1.3,1.4 screen_manager.cxx,1.13,1.14 server.cxx,1.9,1.10 sound.cxx,1.4,1.5 sound.hxx,1.4,1.5 sound_real.cxx,1.4,1.5 surface_button.cxx,1.9,1.10 trap_data.cxx,1.4,1.5 world.cxx,1.14,1.15 xml_helper.cxx,1.12,1.13 xml_plf.cxx,1.7,1.8
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/worldmap stat.cxx,1.3,1.4
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src Makefile.am,1.89,1.90 algo.cxx,1.2,1.3 console.cxx,1.6,1.7 entrance_data.cxx,1.4,1.5 exit_data.cxx,1.3,1.4 groundpiece_data.cxx,1.5,1.6 liquid.cxx,1.2,1.3 liquid_data.cxx,1.4,1.5 plt_xml.cxx,1.3,1.4 screen_manager.cxx,1.13,1.14 server.cxx,1.9,1.10 sound.cxx,1.4,1.5 sound.hxx,1.4,1.5 sound_real.cxx,1.4,1.5 surface_button.cxx,1.9,1.10 trap_data.cxx,1.4,1.5 world.cxx,1.14,1.15 xml_helper.cxx,1.12,1.13 xml_plf.cxx,1.7,1.8
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/worldmap stat.cxx,1.3,1.4
- Index(es):