From 69ed53d9a5b5f97aa41f8a3e3959185ee19f3c1f Mon Sep 17 00:00:00 2001 From: Erik Hovland Date: Wed, 25 Mar 2009 15:22:11 -0700 Subject: [PATCH] Make sure childout string is valid before giving to unlink --- sendlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sendlib.c b/sendlib.c index 3cb9feabf..bac0c0c09 100644 --- a/sendlib.c +++ b/sendlib.c @@ -2237,7 +2237,7 @@ mutt_invoke_sendmail (ADDRESS *from, /* the sender */ } } } - else + else if (childout) unlink (childout); FREE (&childout); -- 2.40.0