[evolution-patches] [EDS - Calendar] Fix for 310461 (part)



Hi,

Changelog explains it all.

Please let me know your review comments.

Thanks,

V. Varadhan
Index: calendar/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/ChangeLog,v
retrieving revision 1.505
diff -u -p -r1.505 ChangeLog
--- calendar/ChangeLog	17 Aug 2005 15:47:10 -0000	1.505
+++ calendar/ChangeLog	18 Aug 2005 13:27:24 -0000
@@ -1,3 +1,10 @@
+2005-08-18  Veerapuram Varadhan  <vvaradhan novell com>
+
+	Fixes #310461 (part of it)
+	* libecal/e-cal-component.c (set_attachment_list):
+	Do not call icalattach_unref after icalproperty_free, as the later
+	ends up executing the former and thus unreffing.
+
 2005-08-17  Carsten Guenther <carsten guenther scalix com>
 
 	Fixes http://bugzilla.gnome.org/show_bug.cgi?id=313657
Index: calendar/libecal/e-cal-component.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/libecal/e-cal-component.c,v
retrieving revision 1.15
diff -u -p -r1.15 e-cal-component.c
--- calendar/libecal/e-cal-component.c	10 Aug 2005 22:40:43 -0000	1.15
+++ calendar/libecal/e-cal-component.c	18 Aug 2005 13:28:06 -0000
@@ -1521,7 +1521,6 @@ set_attachment_list (icalcomponent *ical
 
 			icalcomponent_remove_property (icalcomp, attachment->prop);
 			icalproperty_free (attachment->prop);
-			icalattach_unref (attachment->attach);
 			g_free (attachment);
 		}
 


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