summaryrefslogtreecommitdiffstats
path: root/buffy.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 /buffy.c
parent06d425398e3ef6fd3b152d95f6def1b4b14ff43e (diff)
Use safe_fclose() instead of fclose(), add fclose() to check_sec.sh
Diffstat (limited to 'buffy.c')
-rw-r--r--buffy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/buffy.c b/buffy.c
index db20c218..c5578504 100644
--- a/buffy.c
+++ b/buffy.c
@@ -128,7 +128,7 @@ static int test_new_folder (const char *path)
if ((f = fopen (path, "rb")))
{
rc = test_last_status_new (f);
- fclose (f);
+ safe_fclose (&f);
}
return rc;