diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-06-18 15:21:13 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-06-18 15:21:13 (GMT) |
| commit | 5e301ba17c0b73c52189bac329b20143213817bd (patch) | |
| tree | b5eafd7f91b85c46dcdad3665fd334296d76ccd5 /src/game/GameController.cpp | |
| parent | 83ccd65b1460230f02639d1feefacb47d9ad2ad3 (diff) | |
| download | powder-5e301ba17c0b73c52189bac329b20143213817bd.zip powder-5e301ba17c0b73c52189bac329b20143213817bd.tar.gz | |
Controllers should free their callbacks and views
Diffstat (limited to 'src/game/GameController.cpp')
| -rw-r--r-- | src/game/GameController.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/GameController.cpp b/src/game/GameController.cpp index 3031fb6..df5bf68 100644 --- a/src/game/GameController.cpp +++ b/src/game/GameController.cpp @@ -161,6 +161,7 @@ GameController::~GameController() ui::Engine::Ref().CloseWindow(); } delete gameModel; + delete gameView; } GameView * GameController::GetView() |
