diff options
author | Rocco Rutte <pdmef@gmx.net> | 2009-03-15 13:46:52 +0100 |
---|---|---|
committer | Rocco Rutte <pdmef@gmx.net> | 2009-03-15 13:46:52 +0100 |
commit | 8cfd92192fbe9b2c17fdc2b262592a486025d0ff (patch) | |
tree | 6fa88dcb48254bd3d5a6492eb7889671482592db /edit.c | |
parent | 06d425398e3ef6fd3b152d95f6def1b4b14ff43e (diff) |
Use safe_fclose() instead of fclose(), add fclose() to check_sec.sh
Diffstat (limited to 'edit.c')
-rw-r--r-- | edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -109,7 +109,7 @@ be_snarf_file (const char *path, char **buf, int *max, int *len, int verbose) snprintf(tmp, sizeof(tmp), "\"%s\" %lu bytes\n", path, (unsigned long) sb.st_size); addstr(tmp); } - fclose (f); + safe_fclose (&f); } else { |