From: Ryan Flegel Date: Wed, 9 Jun 2004 19:15:22 +0000 (+0000) Subject: - fixed memory leak X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=d46c92bf057f0df712b2ca3c5cf301097aef4978;p=supertux.git - fixed memory leak SVN-Revision: 1458 --- diff --git a/src/tile.cpp b/src/tile.cpp index bdd06bb68..87c3f81f9 100644 --- a/src/tile.cpp +++ b/src/tile.cpp @@ -114,6 +114,8 @@ TileManager::~TileManager() for(std::vector::iterator i = tiles.begin(); i != tiles.end(); ++i) { delete *i; } + + delete tilegroups_; } void TileManager::load_tileset(std::string filename)