summaryrefslogtreecommitdiffstats
path: root/editmsg.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 /editmsg.c
parent06d425398e3ef6fd3b152d95f6def1b4b14ff43e (diff)
Use safe_fclose() instead of fclose(), add fclose() to check_sec.sh
Diffstat (limited to 'editmsg.c')
-rw-r--r--editmsg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/editmsg.c b/editmsg.c
index 85b75e31..ecba7544 100644
--- a/editmsg.c
+++ b/editmsg.c
@@ -191,7 +191,7 @@ static int edit_one_message (CONTEXT *ctx, HEADER *cur)
mx_close_mailbox (&tmpctx, NULL);
bail:
- if (fp) fclose (fp);
+ if (fp) safe_fclose (&fp);
if (rc >= 0)
unlink (tmp);