diff -r 7333d7932ef7 -r 8b7f4e561641 installationservices/swi/source/sishelper/sishelper.cpp --- a/installationservices/swi/source/sishelper/sishelper.cpp Tue Aug 31 15:21:33 2010 +0300 +++ b/installationservices/swi/source/sishelper/sishelper.cpp Wed Sep 01 12:22:02 2010 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 1997-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" @@ -511,6 +511,8 @@ void CSisHelperSession::FillDrivesAndSpacesL(RArray& aDriveLetters, RArray& aDriveSpaces) { + CleanupClosePushL(aDriveLetters); + CleanupClosePushL(aDriveSpaces); // This is the LFSS free space threshold TInt freeSpaceAdjustment = 1024 * 128; // Bytes @@ -566,6 +568,7 @@ User::LeaveIfError(aDriveSpaces.Append(volSpace)); } CleanupStack::PopAndDestroy(&fs); + CleanupStack::Pop(2, &aDriveLetters); }