diff options
| author | Alan Conway <aconway@apache.org> | 2009-10-30 20:33:46 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2009-10-30 20:33:46 +0000 |
| commit | 6fa6fd99a004c98533f533dc52933c3cbc3c2674 (patch) | |
| tree | beda4c61f66c527f0635060df1f68a30b5334893 /cpp/src/tests/BrokerFixture.h | |
| parent | 4554dcd498ee2e446795edb5315ec3c9bf142615 (diff) | |
| download | qpid-python-6fa6fd99a004c98533f533dc52933c3cbc3c2674.tar.gz | |
Fix memory leak in testCoincidentErrors due to un-joined connector thread.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@831446 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/BrokerFixture.h')
| -rw-r--r-- | cpp/src/tests/BrokerFixture.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/tests/BrokerFixture.h b/cpp/src/tests/BrokerFixture.h index 5eb6858491..566fbda406 100644 --- a/cpp/src/tests/BrokerFixture.h +++ b/cpp/src/tests/BrokerFixture.h @@ -94,6 +94,7 @@ struct BrokerFixture : private boost::noncopyable { struct LocalConnection : public qpid::client::Connection { LocalConnection(uint16_t port) { open("localhost", port); } LocalConnection(const qpid::client::ConnectionSettings& s) { open(s); } + ~LocalConnection() { close(); } }; /** A local client connection via a socket proxy. */ |
