From d66625d2118fdcfa24e6426588ecdeb102a42966 Mon Sep 17 00:00:00 2001
From: Kevin Smith <git@kismith.co.uk>
Date: Tue, 18 Oct 2011 12:06:09 +0100
Subject: Fix possible crash on login failures


diff --git a/Swift/Controllers/MainController.cpp b/Swift/Controllers/MainController.cpp
index 71740d4..c1ba9d0 100644
--- a/Swift/Controllers/MainController.cpp
+++ b/Swift/Controllers/MainController.cpp
@@ -119,6 +119,7 @@ MainController::MainController(
 	contactEditController_ = NULL;
 	userSearchControllerChat_ = NULL;
 	userSearchControllerAdd_ = NULL;
+	adHocManager_ = NULL;
 	quitRequested_ = false;
 	clientInitialized_ = false;
 
-- 
cgit v0.10.2-6-g49f6