summaryrefslogtreecommitdiff
path: root/src/game/GameModel.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-08-19 20:31:24 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-08-19 20:31:24 (GMT)
commit43ed72b4c5c803eaac0af7589f25a9f74e1df33b (patch)
tree3a82a99df0fc5aae157b5a0db37b7f6bec24642d /src/game/GameModel.cpp
parent9dd9d525648fa941419e13bedd498d634b0b136b (diff)
downloadpowder-43ed72b4c5c803eaac0af7589f25a9f74e1df33b.zip
powder-43ed72b4c5c803eaac0af7589f25a9f74e1df33b.tar.gz
Fix a few small (a lot of big) memory leaks associated with the stamps browser
Diffstat (limited to 'src/game/GameModel.cpp')
-rw-r--r--src/game/GameModel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/GameModel.cpp b/src/game/GameModel.cpp
index f27ebfa..23f3404 100644
--- a/src/game/GameModel.cpp
+++ b/src/game/GameModel.cpp
@@ -119,6 +119,8 @@ GameModel::~GameModel()
}
delete sim;
delete ren;
+ if(placeSave)
+ delete placeSave;
if(clipboard)
delete clipboard;
if(stamp)