--- a/srsf/sisrscontrollerplugin/src/silexicondb.cpp Wed Apr 14 15:58:44 2010 +0300
+++ b/srsf/sisrscontrollerplugin/src/silexicondb.cpp Tue May 11 16:14:47 2010 +0300
@@ -334,6 +334,8 @@
//
void CSILexiconDB::GetAllPronunciationIDsL( TSILexiconID aLexiconID, RArray<TSIPronunciationID>& aPronunciationIDs )
{
+ CleanupClosePushL( aPronunciationIDs );
+
// Construct the table name using the provided Lexicon ID
TBuf<40> KLexiconName(KSILexiconTable);
KLexiconName.AppendNumUC(aLexiconID);
@@ -350,6 +352,7 @@
CleanupStack::PopAndDestroy(newLexicon); // newLexicon
// GetAllIDsL(KLexiconName, KPronunciationIDColumn, aPronunciationIDs);
+ CleanupStack::Pop();
}
// -----------------------------------------------------------------------------