Close f_in on error in CompileDictionary.

This commit is contained in:
Reece H. Dunn
2015-10-04 16:48:42 +01:00
parent 0b7a5a6ff1
commit c39564c11f
+1
View File
@@ -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);