X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/18e6ac84f223b945027ae715ed0be1625c7c8689..886127936eae6a5bff449d797abb4e8aa10f9186:/docs/contrib/sendfrom.c diff --git a/docs/contrib/sendfrom.c b/docs/contrib/sendfrom.c index 0e48db80..2ae8bd53 100644 --- a/docs/contrib/sendfrom.c +++ b/docs/contrib/sendfrom.c @@ -141,7 +141,7 @@ main(int argc, char **argv) { /* Extract address and host from From: header line in draft. */ if (get_from_header_info(msg, &addr, &host, &message) != OK) { - adios(msg, (char *) message); + adios(msg, message); } /* Merge in any address or host specific switches to post(1) from profile. */ @@ -298,6 +298,7 @@ get_message_header_info(FILE *in, char *format) { dat[3] = INT_MAX; (void) fmt_compile(new_fs(NULL, NULL, format), &fmt, 1); + free_fs(); /* * Read in the message and process the header.