* uip/sendsbr.c: replaced st_mtim with st_mtime, that's what
[mmh] / uip / mhfree.c
index 5751801..abaeb2b 100644 (file)
@@ -15,8 +15,6 @@
 #include <h/mime.h>
 #include <h/mhparse.h>
 
-extern int errno;
-
 /*
  * prototypes
  */
@@ -103,6 +101,8 @@ free_content (CT ct)
        free (ct->c_id);
     if (ct->c_descr)
        free (ct->c_descr);
+    if (ct->c_dispo)
+       free (ct->c_dispo);
 
     if (ct->c_file) {
        if (ct->c_unlink)
@@ -271,6 +271,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) {