From 049c8588184b245c4ef864793fdda771cbaf2e66 Mon Sep 17 00:00:00 2001 From: David Levine Date: Mon, 30 May 2016 11:48:46 -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 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. -- 2.56.0