chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
manager: use correct cleanup function
[elogind.git]
/
src
/
core
/
manager.c
diff --git
a/src/core/manager.c
b/src/core/manager.c
index 9abdf475cf1ea9404a21a409837680eaee16daf2..095111e8c656f93b0ea5fdd876e8bfb1b0a641e2 100644
(file)
--- a/
src/core/manager.c
+++ b/
src/core/manager.c
@@
-896,7
+896,7
@@
static int manager_coldplug(Manager *m) {
static void manager_build_unit_path_cache(Manager *m) {
char **i;
- _cleanup_
free
_ DIR *d = NULL;
+ _cleanup_
closedir
_ DIR *d = NULL;
int r;
assert(m);