File bnc-443296-memory-corruption.patch of Package evolution-data-server

Index: a/calendar/backends/groupwise/e-cal-backend-groupwise-utils.c
===================================================================
--- a/calendar/backends/groupwise/e-cal-backend-groupwise-utils.c	(revision 9941)
+++ a/calendar/backends/groupwise/e-cal-backend-groupwise-utils.c	(working copy)
@@ -326,8 +326,6 @@
 			continue;
 		}
 
-		g_free (attach_filename_full);
-
 		attach_item = g_new0 (EGwItemAttachment, 1);
 		/* FIXME the member does not follow the naming convention.
 		 * Should be fixed in e-gw-item*/
@@ -340,6 +338,7 @@
 		attach_item->data = encoded_data;
 		attach_item->size = strlen (encoded_data);
 
+		g_free (attach_filename_full);
 		g_free (file_contents);
 		attach_list = g_slist_append (attach_list, attach_item);
 	}
openSUSE Build Service is sponsored by