--- a/textinput/ptienginev2/src/Ptiqwertykeymappings.cpp Tue Aug 31 15:31:50 2010 +0300
+++ b/textinput/ptienginev2/src/Ptiqwertykeymappings.cpp Wed Sep 01 12:23:33 2010 +0100
@@ -872,6 +872,7 @@
void CPtiQwertyKeyMappings::GetNumericModeKeysFromDataL(RArray<TPtiNumericKeyBinding>& aResult)
{
__ASSERT_DEBUG(iKeyMapData, User::Panic(KPtiNoQwertyKeyMapDataPanic, KErrCorrupt));
+ CleanupClosePushL( aResult );
TInt numEntries = 0;
const TPtiNumericKeyBinding* dataEntries = iKeyMapData->NumericModeKeysTable(iKeyboardType,
@@ -881,6 +882,7 @@
{
User::LeaveIfError(aResult.Append(dataEntries[i]));
}
+ CleanupStack::Pop( &aResult );
}