--- a/textinput/ptienginev2/src/Ptiqwertykeymappings.cpp Wed Apr 14 16:18:34 2010 +0300
+++ b/textinput/ptienginev2/src/Ptiqwertykeymappings.cpp Tue Apr 27 16:59:43 2010 +0300
@@ -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 );
}