aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/itip-utils.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-07-30 17:31:14 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-08-11 04:32:02 +0800
commit854c2cd5c84a7c6a38ecf2fc86efb6e474aa32fa (patch)
tree992e7f99e752c8128952b532dffd455b2e4a2a66 /calendar/gui/itip-utils.c
parentaa8a700dd924a83e1dcd8eb374df777fb0a83b66 (diff)
downloadgsoc2013-evolution-854c2cd5c84a7c6a38ecf2fc86efb6e474aa32fa.tar.gz
gsoc2013-evolution-854c2cd5c84a7c6a38ecf2fc86efb6e474aa32fa.tar.zst
gsoc2013-evolution-854c2cd5c84a7c6a38ecf2fc86efb6e474aa32fa.zip
Bug #273535 - Meeting request with attachments has bogus CID value
Diffstat (limited to 'calendar/gui/itip-utils.c')
-rw-r--r--calendar/gui/itip-utils.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index 5acabdbc25..cd0a64f1c8 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -1167,6 +1167,8 @@ append_cal_attachments (EMsgComposer *composer,
camel_mime_part_set_content (
attachment, mime_attach->encoded_data,
mime_attach->length, mime_attach->content_type);
+ if (mime_attach->content_id)
+ camel_mime_part_set_content_id (attachment, mime_attach->content_id);
if (mime_attach->filename != NULL)
camel_mime_part_set_filename (
attachment, mime_attach->filename);
@@ -1184,9 +1186,13 @@ append_cal_attachments (EMsgComposer *composer,
g_free (mime_attach->filename);
g_free (mime_attach->content_type);
+ g_free (mime_attach->content_id);
g_free (mime_attach->description);
g_free (mime_attach->encoded_data);
+ g_free (mime_attach);
}
+
+ g_slist_free (attach_list);
}
gboolean