diff options
Diffstat (limited to 'mail/mail-tools.c')
-rw-r--r-- | mail/mail-tools.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/mail/mail-tools.c b/mail/mail-tools.c index 5bfefa758b..a564818b3c 100644 --- a/mail/mail-tools.c +++ b/mail/mail-tools.c @@ -370,10 +370,6 @@ mail_tool_generate_forward_subject (CamelMimeMessage *msg) char *fwd_subj, *fromstr; const CamelInternetAddress *from; - /* we need to lock around the whole function, as we are - only getting references to the message's data */ - mail_tool_camel_lock_up(); - from = camel_mime_message_get_from(msg); subject = camel_mime_message_get_subject(msg); @@ -395,8 +391,6 @@ mail_tool_generate_forward_subject (CamelMimeMessage *msg) fwd_subj = g_strdup (_("Fwd: (no subject)")); } - mail_tool_camel_lock_down(); - return fwd_subj; } @@ -440,6 +434,7 @@ mail_tool_make_message_attachment (CamelMimeMessage *message) camel_medium_set_content_object (CAMEL_MEDIUM (part), CAMEL_DATA_WRAPPER (message)); camel_mime_part_set_content_type (part, "message/rfc822"); + g_free(desc); /*camel_object_unref (CAMEL_OBJECT (message));*/ return part; } |