diff options
author | Milan Crha <mcrha@redhat.com> | 2009-07-30 17:31:14 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2009-07-30 17:31:14 +0800 |
commit | e004ae81885231237cc92907dbc4fb3e50cea309 (patch) | |
tree | 3b0c6db64770d2466816c97305d25e6791771fcf /calendar/gui/itip-utils.c | |
parent | f093350819edeba7728af7f216d1429f8bcd5926 (diff) | |
download | gsoc2013-evolution-e004ae81885231237cc92907dbc4fb3e50cea309.tar gsoc2013-evolution-e004ae81885231237cc92907dbc4fb3e50cea309.tar.gz gsoc2013-evolution-e004ae81885231237cc92907dbc4fb3e50cea309.tar.bz2 gsoc2013-evolution-e004ae81885231237cc92907dbc4fb3e50cea309.tar.lz gsoc2013-evolution-e004ae81885231237cc92907dbc4fb3e50cea309.tar.xz gsoc2013-evolution-e004ae81885231237cc92907dbc4fb3e50cea309.tar.zst gsoc2013-evolution-e004ae81885231237cc92907dbc4fb3e50cea309.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.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c index 1de0ed56d6..10751a3629 100644 --- a/calendar/gui/itip-utils.c +++ b/calendar/gui/itip-utils.c @@ -1173,6 +1173,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); @@ -1190,9 +1192,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 |