File:
src/plugins/contrib/SpellChecker/wxspellchecker/MySpell/hashmgr.cxx line 158
Code:
// raw dictionary - munched file
FILE * rawdict = fopen(tpath, "r");
if (rawdict == NULL) return 1;
// first read the first line of file to get hash table size */
char ts[MAXDELEN];
if (! fgets(ts, MAXDELEN-1,rawdict)) return 2; // <-- fclose missing
mychomp(ts);
tablesize = atoi(ts);
if (!tablesize) return 4; // <-- fclose missing
Fixed in [r13544], thank you.
This file is not part of the plugin (we have discussed this before). Anyway, I fixed it so the code checker does not find it again.
Related
Commit: [r13544]