mutt_*mktemp--
[apps/madmutt.git] / compose.c
index c1a0de4..8a8d0c5 100644 (file)
--- a/compose.c
+++ b/compose.c
@@ -1165,7 +1165,7 @@ int mutt_compose_menu (HEADER * msg,    /* structure for new message */
           p_delete(&idx[idxlen]);
           continue;
         }
-        fclose (fp);
+        m_fclose(&fp);
 
         if ((idx[idxlen]->content = mutt_make_file_attach (fname)) == NULL) {
           mutt_error