--- 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<TLanguage> languages;
+ CleanupClosePushL( languages );
iImplementor.MttscGetSupportedLanguagesL( languages );
*languageCount = languages.Count();
- languages.Close();
+ CleanupStack::PopAndDestroy();
}
// -----------------------------------------------------------------------------
@@ -484,9 +485,10 @@
TInt* voiceCount = intPtrPckg();
RArray<TTtsStyle> voices;
+ CleanupClosePushL( voices );
iImplementor.MttscGetSupportedVoicesL( language, voices );
*voiceCount = voices.Count();
- voices.Close();
+ CleanupStack::PopAndDestroy( );
}
// End of File