summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/Cluster.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-05-11 13:11:42 +0000
committerAlan Conway <aconway@apache.org>2009-05-11 13:11:42 +0000
commitec0e348d1d14679f72ce704555dd2605880bddfa (patch)
treee5467d155e1e90faad6daa442113bfe94798a14c /cpp/src/qpid/cluster/Cluster.cpp
parentce4375e5a161d38945ee4e863aad6b772e0e9251 (diff)
downloadqpid-python-ec0e348d1d14679f72ce704555dd2605880bddfa.tar.gz
Fix leak of Decoder map entries.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@773552 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/Cluster.cpp')
-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 910699f913..677bd2b722 100644
--- a/cpp/src/qpid/cluster/Cluster.cpp
+++ b/cpp/src/qpid/cluster/Cluster.cpp
@@ -172,6 +172,7 @@ void Cluster::addShadowConnection(const boost::intrusive_ptr<Connection>& c) {
// Called by Connection::deliverClose() in deliverFrameQueue thread.
void Cluster::erase(const ConnectionId& id) {
connections.erase(id);
+ decoder.erase(id);
}
std::vector<string> Cluster::getIds() const {