mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-01 21:58:52 +00:00
Fix the logic in Lexicon_It to avoid leaking f_list_in when pass is not 1 or 2.
This commit is contained in:
+1
-1
@@ -384,7 +384,7 @@ void Lexicon_It(int pass)
|
||||
f_listx = fopen(buf,"w");
|
||||
wxLogStatus(_T("Pass 1"));
|
||||
}
|
||||
else
|
||||
else if(pass == 2)
|
||||
{
|
||||
CompileDictionary(path_dsource,"it",NULL,NULL,0);
|
||||
sprintf(buf,"%s/it_listx2",path_dsource);
|
||||
|
||||
Reference in New Issue
Block a user