aboutsummaryrefslogtreecommitdiff
path: root/sbin/devd/devd.cc
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2010-11-21 04:02:37 +0000
committerKevin Lo <kevlo@FreeBSD.org>2010-11-21 04:02:37 +0000
commit5983e89162b4fcfbf942c606121f3c7462dd3946 (patch)
tree705d191ca8e2813142d0867ca5f63f7717631660 /sbin/devd/devd.cc
parentd9cf41b68d4bc7c247511ad1c91d8c3fad2d42dc (diff)
downloadsrc-5983e89162b4fcfbf942c606121f3c7462dd3946.tar.gz
src-5983e89162b4fcfbf942c606121f3c7462dd3946.zip
Fix missing closedir()
Reviewed by: imp
Notes
Notes: svn path=/head/; revision=215607
Diffstat (limited to 'sbin/devd/devd.cc')
-rw-r--r--sbin/devd/devd.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/devd/devd.cc b/sbin/devd/devd.cc
index bce4a38820ca..87d0580e26d4 100644
--- a/sbin/devd/devd.cc
+++ b/sbin/devd/devd.cc
@@ -422,6 +422,7 @@ config::parse_files_in_dir(const char *dirname)
parse_one_file(path);
}
}
+ closedir(dirp);
}
class epv_greater {