srsf/speechsynthesis/server/src/speechsynthesisserver.cpp
branchRCL_3
changeset 11 6347473a7bb2
parent 0 bf1d17376201
--- a/srsf/speechsynthesis/server/src/speechsynthesisserver.cpp	Wed Apr 14 15:58:44 2010 +0300
+++ b/srsf/speechsynthesis/server/src/speechsynthesisserver.cpp	Tue May 11 16:14:47 2010 +0300
@@ -461,6 +461,7 @@
                                                   RArray<TVoice>& aVoices )
     {
     RUBY_DEBUG_BLOCK( "CSpeechSynthesisServer::GetSupportedVoicesL" );
+    CleanupClosePushL( aVoices );
     
     UpdateSynthesisConfigurationIfNeededL();
     
@@ -477,6 +478,7 @@
             aVoices.AppendL( voice );
             }
         }
+    CleanupStack::Pop(); 
     }
  
 // ----------------------------------------------------------------------------