summaryrefslogtreecommitdiffstats
path: root/edit.c
diff options
context:
space:
mode:
authorRocco Rutte <pdmef@gmx.net>2009-03-15 13:46:52 +0100
committerRocco Rutte <pdmef@gmx.net>2009-03-15 13:46:52 +0100
commit8cfd92192fbe9b2c17fdc2b262592a486025d0ff (patch)
tree6fa88dcb48254bd3d5a6492eb7889671482592db /edit.c
parent06d425398e3ef6fd3b152d95f6def1b4b14ff43e (diff)
Use safe_fclose() instead of fclose(), add fclose() to check_sec.sh
Diffstat (limited to 'edit.c')
-rw-r--r--edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/edit.c b/edit.c
index d952e9a2..35e45e47 100644
--- a/edit.c
+++ b/edit.c
@@ -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
{