summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-05-24 16:18:56 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-05-24 16:18:56 (GMT)
commit3a0803936a07163013082f77200f6fde1152bc5d (patch)
tree06211ed4416aa755050626687e8c7b4f202551cd
parent933d3ab7b34500c8edb927505d831fe439ca4253 (diff)
downloadswift-contrib-3a0803936a07163013082f77200f6fde1152bc5d.zip
swift-contrib-3a0803936a07163013082f77200f6fde1152bc5d.tar.bz2
Pre-NULL MUCSearchController, to avoid a segfault during login failure.
-rw-r--r--Swift/Controllers/MainController.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/Controllers/MainController.cpp b/Swift/Controllers/MainController.cpp
index 6c9c5dd..591ccda 100644
--- a/Swift/Controllers/MainController.cpp
+++ b/Swift/Controllers/MainController.cpp
@@ -79,6 +79,7 @@ MainController::MainController(ChatWindowFactory* chatWindowFactory, MainWindowF
discoResponder_ = NULL;
presenceSender_ = NULL;
client_ = NULL;
+ mucSearchController_ = NULL;
mucSearchWindowFactory_ = mucSearchWindowFactory;
eventWindowFactory_ = eventWindowFactory;