mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-16 10:12:39 +00:00
Close f_in on error in Lexicon_It.
This commit is contained in:
@@ -369,6 +369,7 @@ void Lexicon_It(int pass)
|
|||||||
{
|
{
|
||||||
str = wxString(buf, wxConvLocal);
|
str = wxString(buf, wxConvLocal);
|
||||||
wxLogError(_T("Can't write file: ") + str);
|
wxLogError(_T("Can't write file: ") + str);
|
||||||
|
fclose(f_in);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user