diff -r 98a43fae6e2b -r 741e5bba2bd1 installationservices/swi/source/sishelper/sishelperclient.cpp --- a/installationservices/swi/source/sishelper/sishelperclient.cpp Tue Apr 27 16:46:15 2010 +0300 +++ b/installationservices/swi/source/sishelper/sishelperclient.cpp Tue May 11 16:20:28 2010 +0300 @@ -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); }