diff options
author | jasper | 2007-05-28 21:11:39 +0000 |
---|---|---|
committer | jasper | 2007-05-28 21:11:39 +0000 |
commit | 59fbbbaaa59329e99fbc14a0377a88480620863d (patch) | |
tree | 8ad0d4c664196d9caeed2c592bc0a72b80c55c2a /conf.c | |
parent | 4cf5a98fa42b6d99a178eda07a9e42f91e02c97d (diff) | |
download | cwm-59fbbbaaa59329e99fbc14a0377a88480620863d.tar.gz |
add two missing closedir()'s
from Antti Nykänen <aon at iki.fi> via bernd@
ok pedro@
Diffstat (limited to '')
-rw-r--r-- | conf.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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); + } |