[Super-tux-commit] supertux/src tile.cpp,1.27,1.28
Brought to you by:
wkendrick
From: Ryan F. <sik...@us...> - 2004-06-09 19:15:31
|
Update of /cvsroot/super-tux/supertux/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4858 Modified Files: tile.cpp Log Message: - fixed memory leak Index: tile.cpp =================================================================== RCS file: /cvsroot/super-tux/supertux/src/tile.cpp,v retrieving revision 1.27 retrieving revision 1.28 diff -u -d -r1.27 -r1.28 --- tile.cpp 9 Jun 2004 05:23:20 -0000 1.27 +++ tile.cpp 9 Jun 2004 19:15:22 -0000 1.28 @@ -114,6 +114,8 @@ for(std::vector<Tile*>::iterator i = tiles.begin(); i != tiles.end(); ++i) { delete *i; } + + delete tilegroups_; } void TileManager::load_tileset(std::string filename) |