Close cpfrom in an error case.

CID: 271771
This commit is contained in:
Warner Losh 2017-12-28 05:33:49 +00:00
parent 290ce7d2a9
commit df017019c2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=327269

View File

@ -804,6 +804,7 @@ ask(const char *prompt)
mailing = NO;
fseeko(newmsg, oldpos, SEEK_SET);
ask(prompt);
fclose(cpfrom);
return;
}