textinput/ptienginev2/src/Ptiqwertykeymappings.cpp
branchRCL_3
changeset 44 ecbabf52600f
parent 43 ebd48d2de13c
child 46 bd83ceabce89
--- 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 );
 	}