diff -r b5e99d8877c7 -r 0dcb073356a5 rtp/rtpstack/tsrc/ut_rtpstack/src/UT_CRtpStpPacket.cpp --- a/rtp/rtpstack/tsrc/ut_rtpstack/src/UT_CRtpStpPacket.cpp Tue Aug 31 15:32:57 2010 +0300 +++ b/rtp/rtpstack/tsrc/ut_rtpstack/src/UT_CRtpStpPacket.cpp Wed Sep 01 12:27:36 2010 +0100 @@ -75,8 +75,10 @@ void UT_CRtpStpPacket::SetupL( ) { iRtpStpPacket = new(ELeave) CRtpStpPacket(); + + CleanupStack::PushL(iRtpStpPacket); iRtpStpPacket->ConstructL( KMaxRtpPacketSize, 1 ); - + CleanupStack::Pop(); } void UT_CRtpStpPacket::Teardown( )