richcallsettingsengine/rcse2/src/rcseregistrybase.cpp
branchRCL_3
changeset 21 43658d24f35d
parent 0 a4daefaec16c
--- a/richcallsettingsengine/rcse2/src/rcseregistrybase.cpp	Tue May 11 16:04:22 2010 +0300
+++ b/richcallsettingsengine/rcse2/src/rcseregistrybase.cpp	Tue May 25 12:31:20 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2004-2007 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2004-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"
@@ -349,6 +349,7 @@
 //
 void CRCSERegistryBase::FindAllIdsL( RArray<TUint32>& aIdArray )
     {
+    CleanupClosePushL( aIdArray );
     aIdArray.Reset();
 
     RArray<TInt> ids;
@@ -364,6 +365,7 @@
         }
 
     CleanupStack::PopAndDestroy( &ids );
+    CleanupStack::Pop( &aIdArray );
     }
 
 // -----------------------------------------------------------------------------