Don't leak this descriptor (thanks dothebart).
Note that fclose closes the file descriptor frees the stream.
This commit is contained in:
parent
269d360f30
commit
beaa85ceb9
|
@ -101,6 +101,7 @@ void parse_file(const char *f) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
fclose(fstr);
|
||||||
|
|
||||||
/* For every custom variable, see how often it occurs in the file and
|
/* For every custom variable, see how often it occurs in the file and
|
||||||
* how much extra bytes it requires when replaced. */
|
* how much extra bytes it requires when replaced. */
|
||||||
|
|
Loading…
Reference in New Issue