--- a/textinput/ptienginev2/src/PtiKeyMapData.cpp Tue Aug 31 15:31:50 2010 +0300
+++ b/textinput/ptienginev2/src/PtiKeyMapData.cpp Wed Sep 01 12:23:33 2010 +0100
@@ -296,6 +296,7 @@
EXPORT_C void CPtiKeyMapData::GetNumericModeKeysL(TPtiKeyboardType aKeyboardType,
RArray<TPtiNumericKeyBinding>& aResult) const
{
+ CleanupClosePushL( aResult );
TInt numItems = 0;
const TPtiNumericKeyBinding* data = NumericModeKeysTable(aKeyboardType, numItems);
@@ -308,6 +309,7 @@
User::LeaveIfError(aResult.Append(data[i]));
}
}
+ CleanupStack::Pop();
}
@@ -479,6 +481,7 @@
//
EXPORT_C void CPtiKeyMapDataFactory::ListImplementationsL(RArray<TInt>& aResult)
{
+ CleanupClosePushL( aResult );
RImplInfoPtrArray infoArray;
TInt i;
@@ -492,6 +495,7 @@
}
CleanupStack::PopAndDestroy(); // infoArray
+ CleanupStack::Pop();
}