X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/61ccf1dbeea93978803303d2cd43efa5da2cc7d1..628b193daced4357675de5127ff8129cf6f81b0f:/uip/mhfree.c?ds=inline diff --git a/uip/mhfree.c b/uip/mhfree.c index 5fa2a59c..29756876 100644 --- a/uip/mhfree.c +++ b/uip/mhfree.c @@ -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; }