rtp/rtpstack/tsrc/ut_rtpstack/src/UT_CRtpStpPacket.cpp
branchRCL_3
changeset 44 0dcb073356a5
parent 43 b5e99d8877c7
--- 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(  )