mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
add two missing closedir()'s
from Antti Nyknen <aon at iki.fi> via bernd@ ok pedro@
This commit is contained in:
parent
9006bbf20b
commit
04248d0ed3
6
conf.c
6
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);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user