diff -r fc313e1df071 -r 6347473a7bb2 srsf/ttscustomcommands/src/nssttscustomcommandparser.cpp --- a/srsf/ttscustomcommands/src/nssttscustomcommandparser.cpp Wed Apr 14 15:58:44 2010 +0300 +++ b/srsf/ttscustomcommands/src/nssttscustomcommandparser.cpp Tue May 11 16:14:47 2010 +0300 @@ -427,10 +427,11 @@ TInt* languageCount = intPtrPckg(); RArray languages; + CleanupClosePushL( languages ); iImplementor.MttscGetSupportedLanguagesL( languages ); *languageCount = languages.Count(); - languages.Close(); + CleanupStack::PopAndDestroy(); } // ----------------------------------------------------------------------------- @@ -484,9 +485,10 @@ TInt* voiceCount = intPtrPckg(); RArray voices; + CleanupClosePushL( voices ); iImplementor.MttscGetSupportedVoicesL( language, voices ); *voiceCount = voices.Count(); - voices.Close(); + CleanupStack::PopAndDestroy( ); } // End of File