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

View File

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