idlefw/src/framework/aicpsexecuteparam.cpp
branchRCL_3
changeset 16 b276298d5729
parent 15 a0713522ab97
--- a/idlefw/src/framework/aicpsexecuteparam.cpp	Wed Apr 14 16:16:44 2010 +0300
+++ b/idlefw/src/framework/aicpsexecuteparam.cpp	Tue Apr 27 16:57:49 2010 +0300
@@ -147,18 +147,27 @@
     iContentId = NULL;
     
     TLiwVariant variant;
+    variant.PushL();
+
     if ( aMap->FindL(KPublisherId, variant ))
         {
         iPublisher = variant.AsDes().AllocL();
         }
+    
+    variant.Reset();
     if ( aMap->FindL(KContentType, variant ))
         {
         iContentType= variant.AsDes().AllocL();
         }
+    
+    variant.Reset();
     if ( aMap->FindL(KContentId, variant ))
         {
         iContentId= variant.AsDes().AllocL();
         }
+    
+    variant.Reset();
+    CleanupStack::PopAndDestroy( &variant );
     }
 
 // ---------------------------------------------------------------------------