git.samba.org
/
metze
/
heimdal
/
svnmirror.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6fa5c8
)
Close f, from cppcheck
author
Love Hörnquist Åstrand
<lha@kth.se>
Mon, 8 Jun 2009 20:33:22 +0000
(20:33 +0000)
committer
Love Hörnquist Åstrand
<lha@kth.se>
Mon, 8 Jun 2009 20:33:22 +0000
(20:33 +0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25277
ec53bebd
-3082-4978-b11e-
865c3cabbd6b
kpasswd/kpasswd-generator.c
patch
|
blob
|
history
diff --git
a/kpasswd/kpasswd-generator.c
b/kpasswd/kpasswd-generator.c
index b121ea10e909a99a64b567a2fc26bebbce391e96..952531d3048a151201388f3dbdcf8a569772a0cc 100644
(file)
--- a/
kpasswd/kpasswd-generator.c
+++ b/
kpasswd/kpasswd-generator.c
@@
-58,6
+58,7
@@
read_words (const char *filename, char ***ret_w)
*ret_w = w;
if (n == 0)
errx(1, "%s is an empty file, no words to try", filename);
+ fclose(f);
return n;
}