--- a/brandingserver/bsserver/cbsbrandhandler.cpp Thu Jan 07 12:56:16 2010 +0200
+++ b/brandingserver/bsserver/cbsbrandhandler.cpp Mon Jan 18 20:33:04 2010 +0200
@@ -210,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.
@@ -239,6 +240,8 @@
TRACE( T_LIT( "CBSBrandHandler::GetFileL found in default brand") );
}
+
+ CleanupStack :: PopAndDestroy (fileName);
aFile = file;
TRACE( T_LIT( "CBSBrandHandler::GetFileL end") );