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

View File

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