X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/859d1e1a78f6c61a062bfb534652f5ce3ffb672f..70c96d95b9ff6e9e03b1cd78f3d6a24cd52a8b4b:/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; }