From a8e931256acd802d1477bff4dd88e3f0ecd13df3 Mon Sep 17 00:00:00 2001 From: David Levine Date: Mon, 30 May 2016 11:48:28 -0400 Subject: [PATCH] Added free_fs() call to plug leak from fmt_compile(). --- docs/contrib/sendfrom.c | 1 + 1 file changed, 1 insertion(+) 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. -- 2.56.0