aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/itip-utils.c6
2 files changed, 10 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 794bd25a1d..576ef9774f 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,10 @@
2002-06-25 JP Rosevear <jpr@ximian.com>
+ * gui/itip-utils.c (comp_compliant): plug leak and actually use
+ the minimal comp we create
+
+2002-06-25 JP Rosevear <jpr@ximian.com>
+
* gui/dialogs/comp-editor-page.h: add back proto
* gui/dialogs/comp-editor-page.c
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index db070c8a4f..e90ff24c13 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -741,7 +741,11 @@ comp_compliant (CalComponentItipMethod method, CalComponent *comp)
comp_sentby (clone);
break;
case CAL_COMPONENT_METHOD_REPLY:
- comp_minimal (clone, TRUE);
+ /* Need to remove almost everything in case the user
+ made some other change */
+ temp_clone = comp_minimal (clone, TRUE);
+ gtk_object_unref (GTK_OBJECT (clone));
+ clone = temp_clone;
break;
case CAL_COMPONENT_METHOD_ADD:
break;