Close f if its not stdout, from cppcheck
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25275 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -236,5 +236,8 @@ int main(int argc, char **argv)
|
||||
fprintf(f, "\n");
|
||||
#endif /* KRB5 */
|
||||
fprintf(f, "#endif /* %s */\n", hb);
|
||||
|
||||
if (f != stdout)
|
||||
fclose(f);
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user