]> granicus.if.org Git - neomutt/commitdiff
fix #737.
authorThomas Roessler <roessler@does-not-exist.org>
Mon, 17 Sep 2001 10:19:10 +0000 (10:19 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Mon, 17 Sep 2001 10:19:10 +0000 (10:19 +0000)
send.c

diff --git a/send.c b/send.c
index a9eb1fa79ace98288ba623238d50e089fa507d02..c9823b111f05c138d32c72308ff740290b031731 100644 (file)
--- a/send.c
+++ b/send.c
@@ -1538,8 +1538,11 @@ full_fcc:
     if (save_sig)
     {
       /* cleanup the second signature structures */
-      mutt_free_body (&save_content->parts->next);
-      save_content->parts = NULL;
+      if (save_content->parts)
+      {
+       mutt_free_body (&save_content->parts->next);
+       save_content->parts = NULL;
+      }
       mutt_free_body (&save_content);
 
       /* restore old signature and attachments */