aboutsummaryrefslogtreecommitdiff
path: root/backends/text-to-speech/macosx
diff options
context:
space:
mode:
Diffstat (limited to 'backends/text-to-speech/macosx')
-rw-r--r--backends/text-to-speech/macosx/macosx-text-to-speech.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/text-to-speech/macosx/macosx-text-to-speech.mm b/backends/text-to-speech/macosx/macosx-text-to-speech.mm
index 72f56f91be..4d232f3b95 100644
--- a/backends/text-to-speech/macosx/macosx-text-to-speech.mm
+++ b/backends/text-to-speech/macosx/macosx-text-to-speech.mm
@@ -66,6 +66,8 @@ MacOSXTextToSpeechManager::MacOSXTextToSpeechManager() : Common::TextToSpeechMan
}
MacOSXTextToSpeechManager::~MacOSXTextToSpeechManager() {
+ clearState();
+
[synthesizer release];
[synthesizerDelegate release];
}