summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-12-26 20:23:37 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-12-26 20:23:37 (GMT)
commit6568d14cdf5d76bb2bc4dbdd68b76e5a0cfc6e0d (patch)
tree64d45049345052186cadc927c1c59adcdd853b1e
parent7f1b958ef2f9d1b892c51d5f7de3a6ab5669a804 (diff)
downloadswift-contrib-6568d14cdf5d76bb2bc4dbdd68b76e5a0cfc6e0d.zip
swift-contrib-6568d14cdf5d76bb2bc4dbdd68b76e5a0cfc6e0d.tar.bz2
Remove incorrect delete in UserSearchController.
-rw-r--r--Swift/Controllers/Chat/UserSearchController.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/Swift/Controllers/Chat/UserSearchController.cpp b/Swift/Controllers/Chat/UserSearchController.cpp
index 0539f9b..7473849 100644
--- a/Swift/Controllers/Chat/UserSearchController.cpp
+++ b/Swift/Controllers/Chat/UserSearchController.cpp
@@ -79,8 +79,6 @@ void UserSearchController::endDiscoWalker() {
discoWalker_->endWalk();
discoWalker_->onServiceFound.disconnect(boost::bind(&UserSearchController::handleDiscoServiceFound, this, _1, _2));
discoWalker_->onWalkComplete.disconnect(boost::bind(&UserSearchController::handleDiscoWalkFinished, this));
- delete discoWalker_;
- discoWalker_ = NULL;
}
}