projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35b53c2
)
Close directory when done with it. Bug found by Coverity
author
Alan T. DeKok
<aland@freeradius.org>
Thu, 6 Sep 2012 09:21:09 +0000
(11:21 +0200)
committer
Alan T. DeKok
<aland@freeradius.org>
Thu, 6 Sep 2012 09:33:25 +0000
(11:33 +0200)
src/main/client.c
patch
|
blob
|
history
diff --git
a/src/main/client.c
b/src/main/client.c
index
07ae6a9
..
d50df0e
100644
(file)
--- a/
src/main/client.c
+++ b/
src/main/client.c
@@
-933,6
+933,7
@@
RADCLIENT_LIST *clients_parse_section(CONF_SECTION *section)
return NULL;
}
} /* loop over the directory */
+ closedir(dir);
}
#endif /* HAVE_DIRENT_H */
#endif /* WITH_DYNAMIC_CLIENTS */