Bugfix: Don’t leak file descriptors (Thanks InfraRed)

This commit is contained in:
Michael Stapelberg 2010-05-24 00:06:26 +02:00
parent c1dc551efc
commit 23d7460040
1 changed files with 2 additions and 0 deletions

View File

@ -184,6 +184,8 @@ void parse_file(const char *f) {
SLIST_REMOVE_HEAD(&variables, variables);
FREE(current);
}
fclose(fstr);
close(fd);
}
%}