From 0dd979a856719f16925f84d6be532bd31044fa82 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Fri, 24 Jul 2009 20:09:11 +0200
Subject: Fix uninitialized streamstack.


diff --git a/Swiften/Client/UnitTest/ClientSessionTest.cpp b/Swiften/Client/UnitTest/ClientSessionTest.cpp
index a91216c..bb10cfd 100644
--- a/Swiften/Client/UnitTest/ClientSessionTest.cpp
+++ b/Swiften/Client/UnitTest/ClientSessionTest.cpp
@@ -38,7 +38,7 @@ using namespace Swift;
 
 class ClientSessionTest : public CppUnit::TestFixture {
 		CPPUNIT_TEST_SUITE(ClientSessionTest);
-		//CPPUNIT_TEST(testConstructor);
+		CPPUNIT_TEST(testConstructor);
 		/*
 		CPPUNIT_TEST(testStart_Error);
 		CPPUNIT_TEST(testStart_XMLError);
diff --git a/Swiften/Session/Session.cpp b/Swiften/Session/Session.cpp
index 5ee98e7..92d1fdc 100644
--- a/Swiften/Session/Session.cpp
+++ b/Swiften/Session/Session.cpp
@@ -14,6 +14,7 @@ Session::Session(
 			connection(connection),
 			payloadParserFactories(payloadParserFactories),
 			payloadSerializers(payloadSerializers),
+      streamStack(0),
 			initialized(false) {
 }
 
-- 
cgit v0.10.2-6-g49f6