X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/17932f7aea1c21cf17738f47996345d9d0a6ce51..628b193daced4357675de5127ff8129cf6f81b0f:/uip/mhfree.c diff --git a/uip/mhfree.c b/uip/mhfree.c index 2328b78a..29756876 100644 --- a/uip/mhfree.c +++ b/uip/mhfree.c @@ -9,7 +9,6 @@ */ #include -#include #include #include @@ -107,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) @@ -271,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; }