From: David Levine Date: Mon, 30 May 2016 15:48:46 +0000 (-0400) Subject: Added free_fs() call to plug leak from fmt_compile(). X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/049c8588184b245c4ef864793fdda771cbaf2e66?ds=inline Added free_fs() call to plug leak from fmt_compile(). --- diff --git a/docs/contrib/sendfrom.c b/docs/contrib/sendfrom.c index 451a7927..2ae8bd53 100644 --- a/docs/contrib/sendfrom.c +++ b/docs/contrib/sendfrom.c @@ -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.