commit 90ff47779b49abf0edadf12c08039f6af7866706 parent 77e9241884ebb0cb48f6038baf35cafa02952a51 Author: z3bra <willyatmailoodotorg> Date: Sun May 15 19:33:04 +12000 Close openned streams on exit Diffstat:
sick.c | | | 5 | +++++ |
diff --git a/sick.c b/sick.c @@ -177,5 +177,10 @@ main(int argc, char *argv[]) } } + if (fp) + fclose(fp); + if (key) + fclose(key); + return 0; }