From: Erik Hovland Date: Wed, 25 Mar 2009 22:22:11 +0000 (-0700) Subject: Make sure childout string is valid before giving to unlink X-Git-Tag: mutt-1-5-20-rel~129 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a45b84ede7c18e59361782456fa0b2006e7928a0;p=mutt Make sure childout string is valid before giving to unlink --- diff --git a/sendlib.c b/sendlib.c index 3cb9feab..bac0c0c0 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);