summaryrefslogtreecommitdiff
path: root/qpid/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
commitab19c12851d40de5f2a330d898e181909b827ea9 (patch)
tree55c084689be462e5b08b97b44d021ddf1eb83ec6 /qpid/cpp/tests/BrokerChannelTest.cpp
parent23c5446b9425bfaed254a93fc2250c54adddfc80 (diff)
downloadqpid-python-ab19c12851d40de5f2a330d898e181909b827ea9.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@523085 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/tests/BrokerChannelTest.cpp')
-rw-r--r--qpid/cpp/tests/BrokerChannelTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/tests/BrokerChannelTest.cpp b/qpid/cpp/tests/BrokerChannelTest.cpp
index 9216ae4672..8717be07b5 100644
--- a/qpid/cpp/tests/BrokerChannelTest.cpp
+++ b/qpid/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());
}