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 /copy.c | |
parent | 06d425398e3ef6fd3b152d95f6def1b4b14ff43e (diff) |
Use safe_fclose() instead of fclose(), add fclose() to check_sec.sh
Diffstat (limited to 'copy.c')
-rw-r--r-- | copy.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -633,12 +633,12 @@ _mutt_copy_message (FILE *fpout, FILE *fpin, HEADER *hdr, BODY *body, fseeko (fp, cur->offset, 0); if (mutt_copy_bytes (fp, fpout, cur->length) == -1) { - fclose (fp); + safe_fclose (&fp); mutt_free_body (&cur); return (-1); } mutt_free_body (&cur); - fclose (fp); + safe_fclose (&fp); } else { |