From 04248d0ed30b14173996ef42313eaf317884a344 Mon Sep 17 00:00:00 2001 From: jasper Date: Mon, 28 May 2007 21:11:39 +0000 Subject: [PATCH] add two missing closedir()'s MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit from Antti Nykänen via bernd@ ok pedro@ --- conf.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/conf.c b/conf.c index 065d6bc..48c44df 100644 --- a/conf.c +++ b/conf.c @@ -149,6 +149,9 @@ conf_cmd_populate(struct conf *c, char *path) /* Add a dynamic entry to the command menu */ conf_cmd_add(c, fullname, filename, 0); } + + closedir(dir); + } void @@ -531,4 +534,7 @@ conf_parseautogroups(struct conf *c, char *filename) TAILQ_INSERT_TAIL(&c->autogroupq, aw, entry); } + + closedir(dir); + }