diff -r 7333d7932ef7 -r 8b7f4e561641 installationservices/swidevicetools/source/swicertstoretool/CSWICertStoreTool.cpp --- a/installationservices/swidevicetools/source/swicertstoretool/CSWICertStoreTool.cpp Tue Aug 31 15:21:33 2010 +0300 +++ b/installationservices/swidevicetools/source/swicertstoretool/CSWICertStoreTool.cpp Wed Sep 01 12:22:02 2010 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2006-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" @@ -400,6 +400,7 @@ void CSWICertStoreTool::ParseApplicationsL(const CTestConfigSection& aSection, RArray& aApplications) { + CleanupClosePushL(aApplications); for (TInt index = 0 ; ; ++index) { const CTestConfigItem* item = aSection.Item(KItemApplication, index); @@ -424,6 +425,7 @@ LogL(KLogNoApplications); User::Leave(KErrArgument); } + CleanupStack::Pop(&aApplications); } void CSWICertStoreTool::OpenInputFileL(const TDesC& aInputFile)