diff -r be41ab7b952f -r 43658d24f35d richcallsettingsengine/rcse2/src/rcseregistrybase.cpp --- 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& aIdArray ) { + CleanupClosePushL( aIdArray ); aIdArray.Reset(); RArray ids; @@ -364,6 +365,7 @@ } CleanupStack::PopAndDestroy( &ids ); + CleanupStack::Pop( &aIdArray ); } // -----------------------------------------------------------------------------