diff -r 11c66574c2a2 -r b23410e29e22 authorisation/userpromptservice/database/test/tupsdb/source/tupsdbstep.cpp --- a/authorisation/userpromptservice/database/test/tupsdb/source/tupsdbstep.cpp Mon May 03 14:11:52 2010 +0300 +++ b/authorisation/userpromptservice/database/test/tupsdb/source/tupsdbstep.cpp Fri May 14 17:39:00 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2007-2009 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 the License "Eclipse Public License v1.0" @@ -449,23 +449,23 @@ upsDb = CDecisionDbW::NewL(iDbLocation,iFs); CleanupStack::PushL(upsDb); - RPointerArray recordList = GetDecisionsL(*upsDb,*filter,iCancel); + RPointerArray recordList; + CleanupResetAndDestroyPushL(recordList); + GetDecisionsL(*upsDb, *filter, iCancel, recordList); TInt recNum; recNum = recordList.Count(); if(recNum) - { - CleanupClosePushL(recordList); + { OpenDecisionFileL(EFileWrite); for(TInt i=0; i