From ad3398987facd074b10194b5da3e42dd32c4e59d Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 29 Mar 2007 23:20:45 +0000 Subject: Fixed more test memory leaks. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@523870 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/tests/InMemoryContentTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qpid/cpp/tests/InMemoryContentTest.cpp') diff --git a/qpid/cpp/tests/InMemoryContentTest.cpp b/qpid/cpp/tests/InMemoryContentTest.cpp index d02cc56a7b..4597ee5e5d 100644 --- a/qpid/cpp/tests/InMemoryContentTest.cpp +++ b/qpid/cpp/tests/InMemoryContentTest.cpp @@ -67,11 +67,11 @@ public: for (unsigned int i = 0; i < outCount; i++) { AMQContentBody::shared_ptr chunk( dynamic_pointer_cast( - channel.out.frames[i]->getBody())); + channel.out.frames[i].getBody())); CPPUNIT_ASSERT(chunk); CPPUNIT_ASSERT_EQUAL(out[i], chunk->getData()); CPPUNIT_ASSERT_EQUAL( - ChannelId(3), channel.out.frames[i]->getChannel()); + ChannelId(3), channel.out.frames[i].getChannel()); } } -- cgit v1.2.1