From: David Levine Date: Mon, 30 May 2016 15:48:28 +0000 (-0400) Subject: Added free_fs() call to plug leak from fmt_compile(). X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/a8e931256acd802d1477bff4dd88e3f0ecd13df3?hp=942561da2455ee50a1eb82c8c4f2bdb5e25133d1 Added free_fs() call to plug leak from fmt_compile(). --- diff --git a/docs/contrib/sendfrom.c b/docs/contrib/sendfrom.c index 0e48db80..3c20e511 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.