]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: close file handle after parsing
authorMichael Stapelberg <michael@stapelberg.de>
Fri, 11 Dec 2009 16:57:42 +0000 (17:57 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Fri, 11 Dec 2009 16:57:42 +0000 (17:57 +0100)
src/config.c

index 8d129bf445605daf9ec252eb4d0417a020caab07..695065780167860f6e4f95fff7df3319336691ac 100644 (file)
@@ -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;
         }