summaryrefslogtreecommitdiff
path: root/src/game/GameModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/GameModel.cpp')
-rw-r--r--src/game/GameModel.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/GameModel.cpp b/src/game/GameModel.cpp
index bc8ec4f..0dbf2f7 100644
--- a/src/game/GameModel.cpp
+++ b/src/game/GameModel.cpp
@@ -175,6 +175,10 @@ GameModel::~GameModel()
{
delete brushList[i];
}
+ for(std::deque<Snapshot*>::iterator iter = history.begin(), end = history.end(); iter != end; ++iter)
+ {
+ delete *iter;
+ }
delete sim;
delete ren;
if(placeSave)