diff options
| author | Alan Conway <aconway@apache.org> | 2010-05-21 17:31:29 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2010-05-21 17:31:29 +0000 |
| commit | ffc5afc35bbc8854e1956d120f79072373f29432 (patch) | |
| tree | 57d68bc7624e148f77741d9f8941a99e8a64e205 /qpid/cpp | |
| parent | 3644f0afde20b56b855c6acd557fc0b6cbef97ac (diff) | |
| download | qpid-python-ffc5afc35bbc8854e1956d120f79072373f29432.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@947081 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
| -rw-r--r-- | qpid/cpp/src/qpid/cluster/Cluster.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qpid/cpp/src/qpid/cluster/Cluster.cpp b/qpid/cpp/src/qpid/cluster/Cluster.cpp index 7332102d08..099c3ef0ce 100644 --- a/qpid/cpp/src/qpid/cluster/Cluster.cpp +++ b/qpid/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)), |
