Close f_in on error in Lexicon_It.

This commit is contained in:
Reece H. Dunn
2015-10-04 16:56:51 +01:00
parent ae1a016e58
commit 01dc335708
+1
View File
@@ -369,6 +369,7 @@ void Lexicon_It(int pass)
{
str = wxString(buf, wxConvLocal);
wxLogError(_T("Can't write file: ") + str);
fclose(f_in);
return;
}