]> diplodocus.org Git - nmh/blobdiff - uip/mhfree.c
Fix for bug #41618: Supply charset to w3m when converting text/html parts.
[nmh] / uip / mhfree.c
index 5fa2a59cfa3bc1ff3059aede1c28d8748e21a0f1..29756876fdd11637a6cbafccd03d1a7191a05123 100644 (file)
@@ -106,7 +106,7 @@ free_content (CT ct)
 
     if (ct->c_file) {
        if (ct->c_unlink)
-           unlink (ct->c_file);
+           (void) m_unlink (ct->c_file);
        free (ct->c_file);
     }
     if (ct->c_fp)
@@ -270,7 +270,7 @@ free_encoding (CT ct, int toplevel)
 
     if (ce->ce_file) {
        if (ce->ce_unlink)
-           unlink (ce->ce_file);
+           (void) m_unlink (ce->ce_file);
        free (ce->ce_file);
        ce->ce_file = NULL;
     }