From a9614f60e0eff29b450bc33c0e8e342b59bc7a04 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Tue, 17 Jul 2012 20:51:16 +0200
Subject: Fixed Expat parser bug.


diff --git a/Swiften/Parser/ExpatParser.cpp b/Swiften/Parser/ExpatParser.cpp
index 236202b..8222ae0 100644
--- a/Swiften/Parser/ExpatParser.cpp
+++ b/Swiften/Parser/ExpatParser.cpp
@@ -63,7 +63,7 @@ static void handleEntityDeclaration(void* parser, const XML_Char*, int, const XM
 }
 
 
-ExpatParser::ExpatParser(XMLParserClient* client) : XMLParser(client) {
+ExpatParser::ExpatParser(XMLParserClient* client) : XMLParser(client), p(new Private()) {
 	p->parser_ = XML_ParserCreateNS("UTF-8", NAMESPACE_SEPARATOR);
 	XML_SetUserData(p->parser_, this);
 	XML_SetElementHandler(p->parser_, handleStartElement, handleEndElement);
-- 
cgit v0.10.2-6-g49f6