Ensure that the old translator is not used after calling espeak_Terminate.

This commit is contained in:
Reece H. Dunn
2017-05-21 12:01:46 +01:00
parent ae6116bf97
commit 63e2826753
2 changed files with 13 additions and 0 deletions
+1
View File
@@ -899,6 +899,7 @@ ESPEAK_NG_API espeak_ng_STATUS espeak_ng_Terminate(void)
outbuf = NULL;
FreePhData();
FreeVoiceList();
translator = NULL;
return ENS_OK;
}