aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/text-to-speech/windows/windows-text-to-speech.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/text-to-speech/windows/windows-text-to-speech.cpp b/backends/text-to-speech/windows/windows-text-to-speech.cpp
index ec3961dd6b..c4de02d243 100644
--- a/backends/text-to-speech/windows/windows-text-to-speech.cpp
+++ b/backends/text-to-speech/windows/windows-text-to-speech.cpp
@@ -229,7 +229,7 @@ bool WindowsTextToSpeechManager::stop() {
WaitForSingleObject(_speechMutex, INFINITE);
while (!_speechQueue.empty()) {
if (_speechQueue.front() != NULL)
- free(_speechQueue.front());
+ free(_speechQueue.front());
_speechQueue.pop_front();
}
_speechQueue.push_back(NULL);