[evolution-patches] fix for the bug #312460 [calendar]



Hi,
   Have attached the fix for the bug.

thanks, chenthill.
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2786
diff -u -p -r1.2786 ChangeLog
--- ChangeLog	4 Aug 2005 10:17:43 -0000	1.2786
+++ ChangeLog	4 Aug 2005 16:39:19 -0000
@@ -1,3 +1,9 @@
+2005-08-05  Chenthill Palanisamy  <pchenthill novell com>
+
+	Fixes #312460
+	* gui/itip-utils.c (itip_get_comp_attendee): Removed
+	a double free.
+
 2005-08-03  Harry Lu  <harry lu sun com>
 
 	Fix for #312447.
Index: gui/itip-utils.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/itip-utils.c,v
retrieving revision 1.103
diff -u -p -r1.103 itip-utils.c
--- gui/itip-utils.c	3 Aug 2005 08:59:29 -0000	1.103
+++ gui/itip-utils.c	4 Aug 2005 16:39:24 -0000
@@ -182,6 +182,7 @@ itip_get_comp_attendee (ECalComponent *c
 			return user_email;	
 		}
 		g_free (address);
+		address = NULL;
 	}
 
 	for (it = e_list_get_iterator((EList *)al);
@@ -197,7 +198,6 @@ itip_get_comp_attendee (ECalComponent *c
 			char *user_email = g_strdup (itip_strip_mailto (attendee->value));
 			
 			e_cal_component_free_attendee_list (attendees);
-			g_free (address);
 			return user_email;		
 		}
 	}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]