--- a/textinput/ptienginev2/src/PtiKeyboardDatabase.cpp Wed Apr 14 16:18:34 2010 +0300
+++ b/textinput/ptienginev2/src/PtiKeyboardDatabase.cpp Tue Apr 27 16:59:43 2010 +0300
@@ -88,6 +88,7 @@
EXPORT_C TInt CPtiKeyboardDatabaseFactory::CreateMappingTableWithOpaqueL(TInt aInterfaceUid,
RArray<TPtiKeyboardDatabaseMappingOpaque>& aResult)
{
+ CleanupClosePushL( aResult );
TInt res = 0;
TPtiKeyboardDatabaseMappingOpaque map;
RImplInfoPtrArray infoArray;
@@ -106,6 +107,7 @@
CleanupStack::PopAndDestroy(); // infoArray
+ CleanupStack::Pop();
return res;
}
@@ -134,6 +136,7 @@
EXPORT_C void CPtiKeyboardDatabaseFactory::ListImplementationsL(TInt aCoreUid,
RArray<TInt>& aResult)
{
+ CleanupClosePushL( aResult );
RImplInfoPtrArray infoArray;
TInt i;
@@ -146,6 +149,7 @@
}
CleanupStack::PopAndDestroy(); // infoArray
+ CleanupStack::Pop();
}
// ---------------------------------------------------------------------------