From 6568d14cdf5d76bb2bc4dbdd68b76e5a0cfc6e0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be> Date: Sun, 26 Dec 2010 21:23:37 +0100 Subject: Remove incorrect delete in UserSearchController. 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; } } -- cgit v0.10.2-6-g49f6