Fix the logic in Lexicon_It to avoid leaking f_list_in when pass is not 1 or 2.

This commit is contained in:
Reece H. Dunn
2015-10-04 17:01:26 +01:00
parent 01dc335708
commit 7dfbdb56ea
+1 -1
View File
@@ -384,7 +384,7 @@ void Lexicon_It(int pass)
f_listx = fopen(buf,"w");
wxLogStatus(_T("Pass 1"));
}
else
else if(pass == 2)
{
CompileDictionary(path_dsource,"it",NULL,NULL,0);
sprintf(buf,"%s/it_listx2",path_dsource);