This website works better with JavaScript.
Home
Explore
Sign In
mahta.fetrat
/
HomoFast-eSpeak-Persian
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Release the translator memory in espeak{_ng,}_Terminate.
master
Reece H. Dunn
7 years ago
parent
87a2586bb0
commit
d23735ae1b
1 changed files
with
4 additions
and
0 deletions
Split View
Show Diff Stats
4
0
src/libespeak-ng/speech.c
+ 4
- 0
src/libespeak-ng/speech.c
View File
@@ -901,10 +901,14 @@ ESPEAK_NG_API espeak_ng_STATUS espeak_ng_Terminate(void)
free(event_list);
event_list = NULL;
free(outbuf);
outbuf = NULL;
FreePhData();
FreeVoiceList();
DeleteTranslator(translator);
translator = NULL;
if (p_decoder != NULL) {
Write
Preview
Loading…
Cancel
Save