--- a/textinput/ptienginev2/src/PtiKeyMappings.cpp Wed Apr 14 16:18:34 2010 +0300
+++ b/textinput/ptienginev2/src/PtiKeyMappings.cpp Tue Apr 27 16:59:43 2010 +0300
@@ -608,6 +608,7 @@
//
void CPtiHalfQwertyKeyMappings::GetNumericModeKeysFromDataL(RArray<TPtiNumericKeyBinding>& aResult)
{
+ CleanupClosePushL( aResult );
__ASSERT_DEBUG(iKeyMapData, User::Panic(KPtiNoKeyMapDataPanic, KErrCorrupt));
TInt numEntries = 0;
@@ -618,6 +619,7 @@
{
User::LeaveIfError(aResult.Append(dataEntries[i]));
}
+ CleanupStack::Pop();
}