From: Thomas Roessler Date: Mon, 21 Sep 1998 12:49:50 +0000 (+0000) Subject: Avoid a dangling pointer in mutt_message_to_7bit(). X-Git-Tag: mutt-0-94-8i-rel~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=06b3a004be08b6b0466fe050ac511e7459f071de;p=mutt Avoid a dangling pointer in mutt_message_to_7bit(). --- diff --git a/sendlib.c b/sendlib.c index d0d15c3d..45bbd68d 100644 --- a/sendlib.c +++ b/sendlib.c @@ -779,6 +779,7 @@ void mutt_message_to_7bit (BODY *a, FILE *fp) } a->length = sb.st_size; mutt_free_body (&a->parts); + a->hdr->content = NULL; } static void transform_to_7bit (BODY *a, FILE *fpin)