diff options
author | Alan Conway <aconway@apache.org> | 2007-06-26 19:33:00 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2007-06-26 19:33:00 +0000 |
commit | 2e15ee024a7f47bda7bd6ea5991657a820bd0714 (patch) | |
tree | e40f85c648e557d68bc0436d1bbcb42a3712ceb0 /cpp/src/qpid | |
parent | 3354535849812a62c00bc568ea9df51cf6153e0d (diff) | |
download | qpid-python-2e15ee024a7f47bda7bd6ea5991657a820bd0714.tar.gz |
* src/tests/cluster.mk: Replace sudo with newgrp for ais tests.
Skip ais tests with warning if user is not in ais group.
* src/tests/Makefile.am: Enable valgrind for all tests.
* src/qpid/client/Connector.cpp: Fix memory leak.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@550915 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid')
-rw-r--r-- | cpp/src/qpid/client/Connector.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/Connector.cpp b/cpp/src/qpid/client/Connector.cpp index 18cb0e064b..99f2d6ece1 100644 --- a/cpp/src/qpid/client/Connector.cpp +++ b/cpp/src/qpid/client/Connector.cpp @@ -46,7 +46,9 @@ Connector::Connector( outbuf(send_buffer_size) { } -Connector::~Connector(){ } +Connector::~Connector(){ + receiver.join(); +} void Connector::connect(const std::string& host, int port){ socket = Socket::createTcp(); |