From 370715d1a86dda0b388927b092d739c4943672b2 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 23 Jul 2011 22:11:01 +0200 Subject: [PATCH] =?utf8?q?Bugfix:=20Don=E2=80=99t=20leak=20file=20descript?= =?utf8?q?or?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/cfgparse.y | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cfgparse.y b/src/cfgparse.y index dac63b95..f9d4ef35 100644 --- a/src/cfgparse.y +++ b/src/cfgparse.y @@ -369,6 +369,7 @@ void parse_file(const char *f) { } } fclose(fstr); + close(fd); /* For every custom variable, see how often it occurs in the file and * how much extra bytes it requires when replaced. */ -- 2.39.5