diff -r 7333d7932ef7 -r 8b7f4e561641 installationservices/swi/source/sishelper/sishelperclient.cpp --- a/installationservices/swi/source/sishelper/sishelperclient.cpp Tue Aug 31 15:21:33 2010 +0300 +++ b/installationservices/swi/source/sishelper/sishelperclient.cpp Wed Sep 01 12:22:02 2010 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2004-2009 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 the License "Eclipse Public License v1.0" @@ -104,6 +104,9 @@ EXPORT_C void RSisHelper::FillDrivesAndSpacesL(RArray& aDriveLetters, RArray& aDriveSpaces) { + CleanupClosePushL(aDriveLetters); + CleanupClosePushL(aDriveSpaces); + // calculate the likely size of the data transfer buffer const TInt KMaxBufSize= sizeof(TInt)+ // number of entries @@ -143,6 +146,7 @@ // cleanup CleanupStack::PopAndDestroy(2, buf); // ins, buf + CleanupStack::Pop(2, &aDriveLetters); } EXPORT_C void RSisHelper::OpenDrmContentL(ContentAccess::TIntent aIntent) @@ -264,6 +268,7 @@ #endif void RSisHelper::GetEquivalentLanguageListL(TLanguage aLangId,RArray& aEquivLangs) { + CleanupClosePushL(aEquivLangs); // calculate the likely size of the data transfer buffer const TInt KMaxBufSize= sizeof(TInt)+ // number of entries @@ -291,4 +296,5 @@ } // cleanup CleanupStack::PopAndDestroy(2, buf); // buf + CleanupStack::Pop(&aEquivLangs); }