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

This commit is contained in:
Michael Stapelberg 2010-05-24 00:06:26 +02:00
parent aa52986cfe
commit 0c60ae19cb

View File

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