aboutsummaryrefslogtreecommitdiffstats
path: root/em-format/e-mail-parser-text-html.c
diff options
context:
space:
mode:
Diffstat (limited to 'em-format/e-mail-parser-text-html.c')
-rw-r--r--em-format/e-mail-parser-text-html.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/em-format/e-mail-parser-text-html.c b/em-format/e-mail-parser-text-html.c
index ae97858a11..b9a4653728 100644
--- a/em-format/e-mail-parser-text-html.c
+++ b/em-format/e-mail-parser-text-html.c
@@ -80,7 +80,7 @@ empe_text_html_parse (EMailParserExtension *extension,
mail_part = e_mail_part_new (part, part_id->str);
mail_part->mime_type = g_strdup ("text/html");
- mail_part->cid = cid;
+ e_mail_part_set_cid (mail_part, cid);
g_string_truncate (part_id, len);
g_queue_push_head (&work_queue, mail_part);
@@ -91,6 +91,8 @@ empe_text_html_parse (EMailParserExtension *extension,
e_queue_transfer (&work_queue, out_mail_parts);
+ g_free (cid);
+
return TRUE;
}