mutt_*mktemp--
[apps/madmutt.git] / muttlib.c
index 185a878..97e650f 100644 (file)
--- a/muttlib.c
+++ b/muttlib.c
@@ -904,7 +904,7 @@ int mutt_extract_token(BUFFER *dest, BUFFER *tok, int flags)
             /* read line */
             p_clear(&expn, 1);
             expn.data = mutt_read_line(NULL, &expn.dsize, fp, &line);
-            fclose(fp);
+            m_fclose(&fp);
             mutt_wait_filter(pid);
 
             /* if we got output, make a new string consiting of the shell ouptput