summaryrefslogtreecommitdiffstats
path: root/sbin/ddb
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2010-11-22 07:00:47 +0000
committerkevlo <kevlo@FreeBSD.org>2010-11-22 07:00:47 +0000
commit7da37ffc703907a49409489fcc502d759bb1c1f2 (patch)
tree844dbb5255a1792e8bae9993afc4a893a3efa839 /sbin/ddb
parentb05094dc42c002877bf4b52a97ccc4af2a03adaf (diff)
downloadFreeBSD-src-7da37ffc703907a49409489fcc502d759bb1c1f2.zip
FreeBSD-src-7da37ffc703907a49409489fcc502d759bb1c1f2.tar.gz
Plug an fd leak
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 f5c5dd0..901d494 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
OpenPOWER on IntegriCloud