mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-07 23:31:26 +00:00
Fix a file leak in MakeVowelLists.
This commit is contained in:
+5
-1
@@ -609,7 +609,11 @@ void MakeVowelLists(void)
|
||||
|
||||
// select the phoneme table by name
|
||||
// if(SetVoiceByName(phoneme_tab_list[table].name) != 0) continue;
|
||||
if(SelectPhonemeTableName(phoneme_tab_list[table].name) < 0) continue;
|
||||
if(SelectPhonemeTableName(phoneme_tab_list[table].name) < 0)
|
||||
{
|
||||
fclose(f);
|
||||
continue;
|
||||
}
|
||||
|
||||
voice_found = 0;
|
||||
if((LoadVoice(phoneme_tab_list[table].name, 0) != NULL) && (translator->data_dictrules != NULL))
|
||||
|
||||
Reference in New Issue
Block a user