commsconfig/cscsipvoipcleanupplugin/src/cscsvcpluginrcsehandler.cpp
branchRCL_3
changeset 21 43658d24f35d
parent 0 a4daefaec16c
--- a/commsconfig/cscsipvoipcleanupplugin/src/cscsvcpluginrcsehandler.cpp	Tue May 11 16:04:22 2010 +0300
+++ b/commsconfig/cscsipvoipcleanupplugin/src/cscsvcpluginrcsehandler.cpp	Tue May 25 12:31:20 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2007-2007 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
@@ -89,6 +89,8 @@
     {
     CSCSVCPLUGINDEBUG( "CCSCSvcPluginRcseHandler::GetProfileIdsL - begin");
     
+    CleanupClosePushL( aSipProfileIds );
+    
     RPointerArray<CRCSEProfileEntry> entries;
     TCleanupItem clItem( ResetAndDestroy, &entries );
     CleanupStack::PushL( clItem );
@@ -113,6 +115,7 @@
         }
         
     CleanupStack::PopAndDestroy(); // clItem    
+    CleanupStack::Pop();
     
     CSCSVCPLUGINDEBUG( "CCSCSvcPluginRcseHandler::GetProfileIdsL - end");
     }