--- a/brandingserver/bsserver/cbsbrandhandler.cpp Tue Aug 31 15:31:29 2010 +0300
+++ b/brandingserver/bsserver/cbsbrandhandler.cpp Wed Sep 01 12:27:45 2010 +0100
@@ -2,7 +2,7 @@
* Copyright (c) 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,17 +11,16 @@
*
* Contributors:
*
-* Description: CBSBrandHandler.cpp
+* Description: CBSBrandHandler.cpp
*
*/
-
// INCLUDE FILES
#include "cbsbrandhandler.h"
#include "bselementfactory.h"
-#include "DebugTrace.h"
+#include "debugtrace.h"
#include "cbsstoragemanager.h"
#include "cbsbitmap.h"
#include "bsimportconstants.h"
@@ -211,6 +210,7 @@
if (iLanguage >= 100)
User::LeaveIfError (KErrNotFound);
HBufC* fileName = GetTextL( aId );
+ CleanupStack :: PushL (fileName);
TBuf<KLangBufLength> buffer;
// append leading zero only if language code is <10.
@@ -240,6 +240,8 @@
TRACE( T_LIT( "CBSBrandHandler::GetFileL found in default brand") );
}
+
+ CleanupStack :: PopAndDestroy (fileName);
aFile = file;
TRACE( T_LIT( "CBSBrandHandler::GetFileL end") );