summaryrefslogtreecommitdiff
path: root/src/net/eathena/searchstorehandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/searchstorehandler.cpp')
-rw-r--r--src/net/eathena/searchstorehandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/eathena/searchstorehandler.cpp b/src/net/eathena/searchstorehandler.cpp
index d9b4625cc..c8cd43d2d 100644
--- a/src/net/eathena/searchstorehandler.cpp
+++ b/src/net/eathena/searchstorehandler.cpp
@@ -36,6 +36,11 @@ SearchStoreHandler::SearchStoreHandler() :
searchStoreHandler = this;
}
+SearchStoreHandler::~SearchStoreHandler()
+{
+ searchStoreHandler = nullptr;
+}
+
void SearchStoreHandler::search(const StoreSearchTypeT type,
const int minPrice,
const int maxPrice,