summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2003-12-14 23:47:07 +0000
committerJP Rosevear <jpr@src.gnome.org>2003-12-14 23:47:07 +0000
commit1548493397b0f676e67fa83e04bfabc46907b452 (patch)
tree297273afdb51426f25c1f7ba4b54800c1523ca43
parentbaa8d0db621f8e889b6a51727eab6266d30a730f (diff)
downloadevolution-data-server-1548493397b0f676e67fa83e04bfabc46907b452.tar.gz
don't remove and then free the param, lest we double free it
2003-12-14 JP Rosevear <jpr@ximian.com> * libecal/e-cal-component.c (set_datetime): don't remove and then free the param, lest we double free it Fixes #51633
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/libecal/e-cal-component.c1
2 files changed, 7 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index b947e0ae8..927882161 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,10 @@
+2003-12-14 <jpr@ximian.com>
+
+ * libecal/e-cal-component.c (set_datetime): don't remove and then
+ free the param, lest we double free it
+
+ Fixes #51633
+
2003-12-14 JP Rosevear <jpr@ximian.com>
* libedata-cal/e-data-cal.c (e_data_cal_notify_free_busy): call
diff --git a/calendar/libecal/e-cal-component.c b/calendar/libecal/e-cal-component.c
index b29e10242..7a658b9b3 100644
--- a/calendar/libecal/e-cal-component.c
+++ b/calendar/libecal/e-cal-component.c
@@ -2079,7 +2079,6 @@ set_datetime (ECalComponent *comp, struct datetime *datetime,
}
} else if (datetime->tzid_param) {
icalproperty_remove_parameter (datetime->prop, ICAL_TZID_PARAMETER);
- icalparameter_free (datetime->tzid_param);
datetime->tzid_param = NULL;
}
}