Browse Source

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

master
Reece H. Dunn 9 years ago
parent
commit
7dfbdb56ea
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/extras.cpp

+ 1
- 1
src/extras.cpp View File

f_listx = fopen(buf,"w"); f_listx = fopen(buf,"w");
wxLogStatus(_T("Pass 1")); wxLogStatus(_T("Pass 1"));
} }
else
else if(pass == 2)
{ {
CompileDictionary(path_dsource,"it",NULL,NULL,0); CompileDictionary(path_dsource,"it",NULL,NULL,0);
sprintf(buf,"%s/it_listx2",path_dsource); sprintf(buf,"%s/it_listx2",path_dsource);

Loading…
Cancel
Save