diff -r fc313e1df071 -r 6347473a7bb2 srsf/sisrscontrollerplugin/src/sicontrollerplugin.cpp --- a/srsf/sisrscontrollerplugin/src/sicontrollerplugin.cpp Wed Apr 14 15:58:44 2010 +0300 +++ b/srsf/sisrscontrollerplugin/src/sicontrollerplugin.cpp Tue May 11 16:14:47 2010 +0300 @@ -2877,6 +2877,8 @@ RArray& aRuleIDs ) { RUBY_DEBUG_BLOCK( "CSIControllerPlugin::UpdateGrammarAndLexiconDBL" ); + CleanupClosePushL( aRuleIDs ); + iSITtpWordList = aSITtpWordList; iLexiconID = aLexiconID; iGrammarID = aGrammarID; @@ -2963,6 +2965,8 @@ iSILexiconDB->UpdateLexiconL( iClientUid,aLexicon ); iSIDatabase->CommitChangesL( ETrue ); CleanupStack::PopAndDestroy( 2 ); // aGrammar aLexicon + + CleanupStack::Pop(); //aRuleIDs } // -----------------------------------------------------------------------------