summaryrefslogtreecommitdiff
path: root/src/game/GameView.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/GameView.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/GameView.cpp')
-rw-r--r--src/game/GameView.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp
index f812358..f354df0 100644
--- a/src/game/GameView.cpp
+++ b/src/game/GameView.cpp
@@ -527,6 +527,9 @@ GameView::~GameView()
if(!colourAValue->GetParentWindow())
delete colourAValue;
+
+ if(placeSaveThumb)
+ delete placeSaveThumb;
}
class GameView::MenuAction: public ui::ButtonAction