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