aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-itip-control.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@src.gnome.org>2007-10-01 15:44:05 +0800
committerMilan Crha <mcrha@src.gnome.org>2007-10-01 15:44:05 +0800
commit67250759b59c1cfd3e9ffdedf62b3fcc9408c211 (patch)
tree552f0a16a1f410bdf61cf11ed1f1dc6373ffe557 /calendar/gui/e-itip-control.c
parent203034b3f4c0869197c2195c87e14675e6db5f69 (diff)
downloadgsoc2013-evolution-67250759b59c1cfd3e9ffdedf62b3fcc9408c211.tar.gz
gsoc2013-evolution-67250759b59c1cfd3e9ffdedf62b3fcc9408c211.tar.zst
gsoc2013-evolution-67250759b59c1cfd3e9ffdedf62b3fcc9408c211.zip
2007-10-01 mcrha Fix for bug #428402
svn path=/trunk/; revision=34341
Diffstat (limited to 'calendar/gui/e-itip-control.c')
-rw-r--r--calendar/gui/e-itip-control.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c
index 55814fd45d..8e408604fb 100644
--- a/calendar/gui/e-itip-control.c
+++ b/calendar/gui/e-itip-control.c
@@ -1567,9 +1567,10 @@ show_current (EItipControl *itip)
/* Strip out alarms for security purposes */
alarm_iter = icalcomponent_begin_component (priv->ical_comp, ICAL_VALARM_COMPONENT);
while ((alarm_comp = icalcompiter_deref (&alarm_iter)) != NULL) {
- icalcomponent_remove_component (priv->ical_comp, alarm_comp);
-
icalcompiter_next (&alarm_iter);
+
+ icalcomponent_remove_component (priv->ical_comp, alarm_comp);
+ icalcomponent_free (alarm_comp);
}
priv->comp = e_cal_component_new ();
@@ -1946,6 +1947,7 @@ update_item (EItipControl *itip)
gtk_widget_destroy (dialog);
icalcomponent_remove_component (priv->top_level, clone);
+ icalcomponent_free (clone);
}
static void