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/PartialFailure.cpp | |
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/PartialFailure.cpp')
-rw-r--r-- | cpp/src/tests/PartialFailure.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/tests/PartialFailure.cpp b/cpp/src/tests/PartialFailure.cpp index b5772607b2..21c6c5c724 100644 --- a/cpp/src/tests/PartialFailure.cpp +++ b/cpp/src/tests/PartialFailure.cpp @@ -98,8 +98,8 @@ QPID_AUTO_TEST_CASE(testCoincidentErrors) { async(c1.session).messageTransfer(content=pMessage("TEST_STORE_DO: s1[exception]", "q")); int alive=0; - try { Client c00(cluster[0], "c00"); ++alive; } catch (...) {} - try { Client c11(cluster[1], "c11"); ++alive; } catch (...) {} + try { Client c00(cluster[0], "c00"); ++alive; c00.close(); } catch (...) {} + try { Client c11(cluster[1], "c11"); ++alive; c11.close(); } catch (...) {} BOOST_CHECK_EQUAL(alive, 1); |