--- a/installationservices/swi/source/sishelper/sishelper.cpp Tue Apr 27 16:46:15 2010 +0300
+++ b/installationservices/swi/source/sishelper/sishelper.cpp Tue May 11 16:20:28 2010 +0300
@@ -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<TChar>& aDriveLetters,
RArray<TInt64>& 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);
}