mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-14 01:32:29 +00:00
Close f_in on error in CompileDictionary.
This commit is contained in:
@@ -1968,6 +1968,7 @@ int CompileDictionary(const char *dsource, const char *dict_name, FILE *log, cha
|
||||
{
|
||||
if(fname_err)
|
||||
strcpy(fname_err,fname_out);
|
||||
fclose(f_in);
|
||||
return(-1);
|
||||
}
|
||||
sprintf(fname_temp,"%s%ctemp",path_home,PATHSEP);
|
||||
|
||||
Reference in New Issue
Block a user