summaryrefslogtreecommitdiff
path: root/src/login/LoginController.cpp
diff options
context:
space:
mode:
authorSimon 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)
commit5e301ba17c0b73c52189bac329b20143213817bd (patch)
treeb5eafd7f91b85c46dcdad3665fd334296d76ccd5 /src/login/LoginController.cpp
parent83ccd65b1460230f02639d1feefacb47d9ad2ad3 (diff)
downloadpowder-5e301ba17c0b73c52189bac329b20143213817bd.zip
powder-5e301ba17c0b73c52189bac329b20143213817bd.tar.gz
Controllers should free their callbacks and views
Diffstat (limited to 'src/login/LoginController.cpp')
-rw-r--r--src/login/LoginController.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/login/LoginController.cpp b/src/login/LoginController.cpp
index af1a66a..a44e9ea 100644
--- a/src/login/LoginController.cpp
+++ b/src/login/LoginController.cpp
@@ -49,5 +49,6 @@ LoginController::~LoginController() {
ui::Engine::Ref().CloseWindow();
}
delete loginModel;
+ delete loginView;
}