summaryrefslogtreecommitdiff
path: root/cpp/tests/BrokerChannelTest.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-03-27 21:23:40 +0000
committerAlan Conway <aconway@apache.org>2007-03-27 21:23:40 +0000
commite919b8ae21a9a92bdea636c7c5de34bda1c29a3d (patch)
treea7fe9e99a591c67828e050f50993614487a3bb6e /cpp/tests/BrokerChannelTest.cpp
parentb35d8895e662990245385f416163c669391adad3 (diff)
downloadqpid-python-e919b8ae21a9a92bdea636c7c5de34bda1c29a3d.tar.gz
* cpp/tests/BrokerChannelTest.cpp: Fix leak.
* cpp/lib/broker/Connection.h: signature fix, pass const& instead of *. * cpp/lib/client/IncomingMessage.cpp: Correct error codes. * cpp/lib/broker/Reference.cpp: Fix TODO. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@523085 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/tests/BrokerChannelTest.cpp')
-rw-r--r--cpp/tests/BrokerChannelTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/tests/BrokerChannelTest.cpp b/cpp/tests/BrokerChannelTest.cpp
index 9216ae4672..8717be07b5 100644
--- a/cpp/tests/BrokerChannelTest.cpp
+++ b/cpp/tests/BrokerChannelTest.cpp
@@ -146,7 +146,7 @@ class BrokerChannelTest : public CppUnit::TestCase
broker(Broker::create()),
connection(&handler, *broker)
{
- connection.initiated(new ProtocolInitiation());
+ connection.initiated(ProtocolInitiation());
}