From: Michael Stapelberg Date: Fri, 11 Dec 2009 16:57:42 +0000 (+0100) Subject: Bugfix: close file handle after parsing X-Git-Tag: 3.e~6^2~210 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=17082ef5b797cc5cf5bb98e2cf2ca931d7f006c7;p=i3%2Fi3 Bugfix: close file handle after parsing --- diff --git a/src/config.c b/src/config.c index 8d129bf4..69506578 100644 --- a/src/config.c +++ b/src/config.c @@ -166,6 +166,7 @@ static void parse_configuration(const char *override_configpath) { die("Neither \"%s\" nor /etc/i3/config could be opened\n", globbed); parse_file("/etc/i3/config"); + fclose(handle); return; }