telutils/telephonyservice/src/ccallinformationimpl.cpp
branchRCL_3
changeset 20 987c9837762f
parent 19 7d48bed6ce0c
--- a/telutils/telephonyservice/src/ccallinformationimpl.cpp	Tue Aug 31 15:45:17 2010 +0300
+++ b/telutils/telephonyservice/src/ccallinformationimpl.cpp	Wed Sep 01 12:15:03 2010 +0100
@@ -58,11 +58,10 @@
     CCallInformationImpl* self = new (ELeave) CCallInformationImpl( );     
     CleanupStack::PushL( self );
     
-    CMediatorService* mediatorService = 
-        CMediatorService::NewL( CMediatorService::ECallInfo );    
-    self->ConstructL(mediatorService);
-    
-    CleanupStack::Pop( self );
+    CMediatorService* mediatorService = CMediatorService::NewLC( CMediatorService::ECallInfo );    
+    self->ConstructL(mediatorService);    
+        
+    CleanupStack::Pop( 2,self );    
     TSLOGSTRING("CCallInformationImpl::NewL >>");
     return self;
     }