--- a/textinput/ptienginev2/src/PtiKeyMappings.cpp Tue Aug 31 15:31:50 2010 +0300
+++ b/textinput/ptienginev2/src/PtiKeyMappings.cpp Wed Sep 01 12:23:33 2010 +0100
@@ -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();
}