aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/ddb
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2010-11-22 07:00:47 +0000
committerKevin Lo <kevlo@FreeBSD.org>2010-11-22 07:00:47 +0000
commit59d8bf609f5f6c03fcf5a6d42d382006c811c07b (patch)
tree844dbb5255a1792e8bae9993afc4a893a3efa839 /sbin/ddb
parentb169d0efa1503eb521ada37e06cd6a58b9145c83 (diff)
downloadsrc-59d8bf609f5f6c03fcf5a6d42d382006c811c07b.tar.gz
src-59d8bf609f5f6c03fcf5a6d42d382006c811c07b.zip
Plug an fd leak
Notes
Notes: svn path=/head/; revision=215658
Diffstat (limited to 'sbin/ddb')
-rw-r--r--sbin/ddb/ddb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/ddb/ddb.c b/sbin/ddb/ddb.c
index f5c5dd026451..901d494aa28a 100644
--- a/sbin/ddb/ddb.c
+++ b/sbin/ddb/ddb.c
@@ -96,6 +96,7 @@ ddb_readfile(char *filename)
#endif
ddb_main(argc, argv);
}
+ fclose(f);
}
void