Close f, from cppcheck

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25277 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2009-06-08 20:33:22 +00:00
parent f6fa5c810e
commit b77ee0c2f8

View File

@@ -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;
}