summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-05-21 17:31:29 +0000
committerAlan Conway <aconway@apache.org>2010-05-21 17:31:29 +0000
commitb8d8b5b3b620e63052f60524ebb54ef0be92c6d1 (patch)
tree59c0c78c9b49ea2d007a599525e4b56982061a32 /cpp/src
parent742618abd97ed2fc9aa726ffa75486982a074929 (diff)
downloadqpid-python-b8d8b5b3b620e63052f60524ebb54ef0be92c6d1.tar.gz
Fix broker core dump during start-up caused by un-initialized mAgent pointer.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947081 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/cluster/Cluster.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/cluster/Cluster.cpp b/cpp/src/qpid/cluster/Cluster.cpp
index 7332102d08..099c3ef0ce 100644
--- a/cpp/src/qpid/cluster/Cluster.cpp
+++ b/cpp/src/qpid/cluster/Cluster.cpp
@@ -247,6 +247,7 @@ Cluster::Cluster(const ClusterSettings& set, broker::Broker& b) :
name(settings.name),
self(cpg.self()),
clusterId(true),
+ mAgent(0),
expiryPolicy(new ExpiryPolicy(mcast, self, broker.getTimer())),
mcast(cpg, poller, boost::bind(&Cluster::leave, this)),
dispatcher(cpg, poller, boost::bind(&Cluster::leave, this)),