diff --git a/usr.bin/msgs/msgs.c b/usr.bin/msgs/msgs.c index 6bd6a56fd9e7..f7a18e1682cb 100644 --- a/usr.bin/msgs/msgs.c +++ b/usr.bin/msgs/msgs.c @@ -804,6 +804,7 @@ ask(const char *prompt) mailing = NO; fseeko(newmsg, oldpos, SEEK_SET); ask(prompt); + fclose(cpfrom); return; }