fclose -> m_fclose
[apps/madmutt.git] / mutt_libesmtp.c
index 98533e7..0ee85c4 100644 (file)
@@ -388,8 +388,7 @@ int mutt_libesmtp_invoke (address_t * from,       /* the sender */
   }
 
 Done:
-  if (fp != NULL)
-    fclose (fp);
+  m_fclose(&fp);
   if (hostportstr != NULL)
     p_delete(&hostportstr);
   if (session != NULL)