From e919b8ae21a9a92bdea636c7c5de34bda1c29a3d Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 27 Mar 2007 21:23:40 +0000 Subject: * 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 --- cpp/tests/BrokerChannelTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/tests/BrokerChannelTest.cpp') 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()); } -- cgit v1.2.1