X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/b56c88e2847c582f9b18ae5bbda44f033cd49c42..5be8db81:/uip/rcvtty.c?ds=inline diff --git a/uip/rcvtty.c b/uip/rcvtty.c index bf140ddd..3bee075e 100644 --- a/uip/rcvtty.c +++ b/uip/rcvtty.c @@ -192,6 +192,7 @@ message_fd (char **vec) advise(NULL, "unable to create temporary file in %s", get_temp_dir()); return NOTOK; } + (void) m_unlink(tfile); /* Use fd, no longer need the file name. */ if ((child_id = fork()) == NOTOK) { /* fork error */ @@ -255,6 +256,7 @@ header_fd (void) advise(NULL, "unable to create temporary file in %s", get_temp_dir()); return NOTOK; } + (void) m_unlink(tfile); /* Use fd, no longer need the file name. */ rewind (stdin);