Bugfix: Don’t leak file descriptor

This commit is contained in:
Michael Stapelberg 2011-07-23 22:11:01 +02:00
parent 7801cd7a03
commit 370715d1a8
1 changed files with 1 additions and 0 deletions

View File

@ -369,6 +369,7 @@ void parse_file(const char *f) {
}
}
fclose(fstr);
close(fd);
/* For every custom variable, see how often it occurs in the file and
* how much extra bytes it requires when replaced. */