X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/61ccf1dbeea93978803303d2cd43efa5da2cc7d1..70c96d95b9ff6e9e03b1cd78f3d6a24cd52a8b4b:/uip/mhfree.c 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; }