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 /handler.c | |
parent | 06d425398e3ef6fd3b152d95f6def1b4b14ff43e (diff) |
Use safe_fclose() instead of fclose(), add fclose() to check_sec.sh
Diffstat (limited to 'handler.c')
-rw-r--r-- | handler.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1643,7 +1643,7 @@ int mutt_body_handler (BODY *b, STATE *s) { b->length = ftello (s->fpout); b->offset = 0; - fclose (s->fpout); + safe_fclose (&s->fpout); /* restore final destination and substitute the tempfile for input */ s->fpout = fp; @@ -1674,7 +1674,7 @@ int mutt_body_handler (BODY *b, STATE *s) b->offset = tmpoffset; /* restore the original source stream */ - fclose (s->fpin); + safe_fclose (&s->fpin); s->fpin = fp; } } |