summaryrefslogtreecommitdiff
path: root/src/search/SearchController.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/search/SearchController.cpp')
-rw-r--r--src/search/SearchController.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/search/SearchController.cpp b/src/search/SearchController.cpp
index 11871fd..a9b346f 100644
--- a/src/search/SearchController.cpp
+++ b/src/search/SearchController.cpp
@@ -17,6 +17,12 @@ SearchController::SearchController()
//windowPanel.AddChild();
}
+SearchController::~SearchController()
+{
+ delete searchModel;
+ delete searchView;
+}
+
void SearchController::DoSearch(std::string query)
{
searchModel->UpdateSaveList(query);