From 3a0803936a07163013082f77200f6fde1152bc5d Mon Sep 17 00:00:00 2001
From: Kevin Smith <git@kismith.co.uk>
Date: Mon, 24 May 2010 17:18:56 +0100
Subject: Pre-NULL MUCSearchController, to avoid a segfault during login
 failure.


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;
-- 
cgit v0.10.2-6-g49f6