Close f, from cppcheck
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25276 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -74,6 +74,7 @@ read_words (const char *filename, char ***ret_w)
|
|||||||
if (n == 0)
|
if (n == 0)
|
||||||
errx(1, "%s is an empty file, no words to try", filename);
|
errx(1, "%s is an empty file, no words to try", filename);
|
||||||
*ret_w = w;
|
*ret_w = w;
|
||||||
|
fclose(f);
|
||||||
return n;
|
return n;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user