summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2007-05-28 21:11:40 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2007-05-28 21:11:40 +0000
commitffcd6066affdc78149584ee027179f6d77f05403 (patch)
tree77dbaf7205473a618ce533975060764f5660559f /app
parent57d8bd9d4b2b823ad1648197b2cd8304a720cb6d (diff)
add two missing closedir()'s
from Antti Nykänen <aon at iki.fi> via bernd@ ok pedro@
Diffstat (limited to 'app')
-rw-r--r--app/cwm/conf.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/cwm/conf.c b/app/cwm/conf.c
index e3ca7b6cc..874965229 100644
--- a/app/cwm/conf.c
+++ b/app/cwm/conf.c
@@ -4,7 +4,7 @@
* Copyright (c) 2004 Marius Aamodt Eriksen <marius@monkey.org>
* All rights reserved.
*
- * $Id: conf.c,v 1.4 2007/05/28 18:34:27 jasper Exp $
+ * $Id: conf.c,v 1.5 2007/05/28 21:11:39 jasper Exp $
*/
#include "headers.h"
@@ -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);
+
}