aboutsummaryrefslogtreecommitdiff
path: root/common/text-to-speech.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/text-to-speech.h')
-rw-r--r--common/text-to-speech.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/common/text-to-speech.h b/common/text-to-speech.h
index 62cc5e878b..8d4b0a0f87 100644
--- a/common/text-to-speech.h
+++ b/common/text-to-speech.h
@@ -48,7 +48,6 @@ class TTSVoice {
TTSVoice(Gender gender, void *data)
: _gender(gender)
, _data(data) {}
- ~TTSVoice() { debug("%d", * (int *)_data); if (_data != nullptr) free(_data); }
Gender getGender() { return _gender; };
void setGender(Gender gender) { _gender = gender; };
void setData(void *data) { _data = data; };