Fixed make_bcc_file () to use contents of From: in draft, if draft_from masquerade...
[mmh] / uip / mhfree.c
index aef86cd..9d064ba 100644 (file)
@@ -4,6 +4,10 @@
  *          -- represent MIME messages
  *
  * $Id$
+ *
+ * This code is Copyright (c) 2002, by the authors of nmh.  See the
+ * COPYRIGHT file in the root directory of the nmh distribution for
+ * complete copyright information.
  */
 
 #include <h/mh.h>
@@ -11,8 +15,6 @@
 #include <h/mime.h>
 #include <h/mhparse.h>
 
-extern int errno;
-
 /*
  * prototypes
  */
@@ -267,6 +269,7 @@ free_encoding (CT ct, int toplevel)
        if (ce->ce_unlink)
            unlink (ce->ce_file);
        free (ce->ce_file);
+       ce->ce_file = NULL;
     }
 
     if (toplevel) {