svn commit: r215607 - head/sbin/devd

Kevin Lo kevlo at FreeBSD.org
Sun Nov 21 04:02:38 UTC 2010


Author: kevlo
Date: Sun Nov 21 04:02:37 2010
New Revision: 215607
URL: http://svn.freebsd.org/changeset/base/215607

Log:
  Fix missing closedir()
  
  Reviewed by:	imp

Modified:
  head/sbin/devd/devd.cc

Modified: head/sbin/devd/devd.cc
==============================================================================
--- head/sbin/devd/devd.cc	Sun Nov 21 03:58:11 2010	(r215606)
+++ head/sbin/devd/devd.cc	Sun Nov 21 04:02:37 2010	(r215607)
@@ -422,6 +422,7 @@ config::parse_files_in_dir(const char *d
 			parse_one_file(path);
 		}
 	}
+	closedir(dirp);
 }
 
 class epv_greater {


More information about the svn-src-all mailing list