aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/msgs
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2017-12-28 05:33:49 +0000
committerWarner Losh <imp@FreeBSD.org>2017-12-28 05:33:49 +0000
commitdf017019c28d4a504aa8d26ea10577d41255eebd (patch)
tree70c5c04913e17886162e8d1ea1625a7ac9551c19 /usr.bin/msgs
parent290ce7d2a9be4b07a6365e85871a6aa4be8009eb (diff)
Notes
Diffstat (limited to 'usr.bin/msgs')
-rw-r--r--usr.bin/msgs/msgs.c1
1 files changed, 1 insertions, 0 deletions
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;
}