From 17082ef5b797cc5cf5bb98e2cf2ca931d7f006c7 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 11 Dec 2009 17:57:42 +0100 Subject: [PATCH] Bugfix: close file handle after parsing --- src/config.c | 1 + 1 file changed, 1 insertion(+) 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; }