summaryrefslogtreecommitdiff
path: root/src/search/SearchController.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/search/SearchController.cpp
parent83ccd65b1460230f02639d1feefacb47d9ad2ad3 (diff)
downloadpowder-5e301ba17c0b73c52189bac329b20143213817bd.zip
powder-5e301ba17c0b73c52189bac329b20143213817bd.tar.gz
Controllers should free their callbacks and views
Diffstat (limited to 'src/search/SearchController.cpp')
-rw-r--r--src/search/SearchController.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/search/SearchController.cpp b/src/search/SearchController.cpp
index aff9636..68fe978 100644
--- a/src/search/SearchController.cpp
+++ b/src/search/SearchController.cpp
@@ -89,6 +89,7 @@ SearchController::~SearchController()
ui::Engine::Ref().CloseWindow();
}
delete searchModel;
+ delete searchView;
}
void SearchController::DoSearch(std::string query)