Index: calendar/backends/groupwise/e-cal-backend-groupwise-utils.c =================================================================== RCS file: /cvs/gnome/evolution-data-server/calendar/backends/groupwise/e-cal-backend-groupwise-utils.c,v retrieving revision 1.73 diff -u -p -r1.73 e-cal-backend-groupwise-utils.c --- calendar/backends/groupwise/e-cal-backend-groupwise-utils.c 9 Dec 2005 11:21:49 -0000 1.73 +++ calendar/backends/groupwise/e-cal-backend-groupwise-utils.c 11 Apr 2006 09:12:09 -0000 @@ -300,9 +300,10 @@ e_cal_backend_groupwise_set_attachments_ /* FIXME the member does not follow the naming convention. * Should be fixed in e-gw-item*/ attach_item->contentType = g_strdup (gnome_vfs_get_mime_type (attach_filename_full)); - g_free (attach_filename_full); attach_item->name = g_strdup (filename + strlen(uid) + 1); + g_free (attach_filename_full); + /* do a base64 encoding so it can be embedded in a soap * message */ encoded_data = soup_base64_encode (file_contents, file_len);