Browse Source

Close f_in on error in CompileDictionary.

master
Reece H. Dunn 9 years ago
parent
commit
c39564c11f
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/compiledict.cpp

+ 1
- 0
src/compiledict.cpp 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);

Loading…
Cancel
Save