From e00480d2f4326decd23ff7665fcb1af5e752c8ec Mon Sep 17 00:00:00 2001
From: Kevin Smith <git@kismith.co.uk>
Date: Fri, 23 Jul 2010 13:35:43 +0100
Subject: Don't crash on exit before first login.

Resolves:

diff --git a/Swift/Controllers/MainController.cpp b/Swift/Controllers/MainController.cpp
index a277051..20f5901 100644
--- a/Swift/Controllers/MainController.cpp
+++ b/Swift/Controllers/MainController.cpp
@@ -81,6 +81,7 @@ MainController::MainController(ChatWindowFactory* chatWindowFactory, MainWindowF
 	presenceSender_ = NULL;
 	client_ = NULL;
 	mucSearchController_ = NULL;
+	statusTracker_ = NULL;
 
 	timeBeforeNextReconnect_ = -1;
 	mucSearchWindowFactory_ = mucSearchWindowFactory;
-- 
cgit v0.10.2-6-g49f6