diff -r cfd5c2994f10 -r 113b91e0a2ad brandingserver/bsserver/cbsstorage.cpp --- a/brandingserver/bsserver/cbsstorage.cpp Tue Aug 31 15:31:29 2010 +0300 +++ b/brandingserver/bsserver/cbsstorage.cpp Wed Sep 01 12:27:45 2010 +0100 @@ -2,7 +2,7 @@ * Copyright (c) 2006-2006 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" +* under the terms of "Eclipse Public License v1.0" * which accompanies this distribution, and is available * at the URL "http://www.eclipse.org/legal/epl-v10.html". * @@ -11,15 +11,14 @@ * * Contributors: * -* Description: Stores element data and writes it to stream +* Description: Stores element data and writes it to stream * */ - #include "cbsstorage.h" #include "bsimportconstants.h" -#include "DebugTrace.h" +#include "debugtrace.h" #include @@ -332,11 +331,13 @@ // void CBSStorage::GetListOfFilesL( RArray& aFileList ) { + CleanupClosePushL(aFileList); TInt count = iElements.Count(); for( TInt i = 0; i < count; i++ ) { AppendFilesL( iElements[i], aFileList ); } + CleanupStack::Pop(&aFileList); } // ---------------------------------------------------------------------------