diff -r 4eb1ae11334f -r e6a39382bb9c textinput/ptienginev2/src/PtiLanguage.cpp --- a/textinput/ptienginev2/src/PtiLanguage.cpp Wed Apr 14 16:18:34 2010 +0300 +++ b/textinput/ptienginev2/src/PtiLanguage.cpp Tue Apr 27 16:59:43 2010 +0300 @@ -424,6 +424,7 @@ // EXPORT_C void CPtiCoreLanguage::GetAvailableInputModesL(RArray& aResult) { + CleanupClosePushL( aResult ); if (!iKeyMapData) { TRAP_IGNORE(LoadKeymappingsL()); @@ -433,6 +434,7 @@ { aResult.AppendL(iCores[i].iInputMode); } + CleanupStack::Pop(); }