diff options
author | kevlo <kevlo@FreeBSD.org> | 2010-11-22 07:00:47 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2010-11-22 07:00:47 +0000 |
commit | 7da37ffc703907a49409489fcc502d759bb1c1f2 (patch) | |
tree | 844dbb5255a1792e8bae9993afc4a893a3efa839 /sbin/ddb | |
parent | b05094dc42c002877bf4b52a97ccc4af2a03adaf (diff) | |
download | FreeBSD-src-7da37ffc703907a49409489fcc502d759bb1c1f2.zip FreeBSD-src-7da37ffc703907a49409489fcc502d759bb1c1f2.tar.gz |
Plug an fd leak
Diffstat (limited to 'sbin/ddb')
-rw-r--r-- | sbin/ddb/ddb.c | 1 |
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 |