aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/cal-client/cal-client.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index db57fe6d09..8969aaa817 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,9 @@
+2000-12-07 Federico Mena Quintero <federico@helixcode.com>
+
+ * cal-client/cal-client.c (cal_client_generate_instances): Unref
+ the component from the objects list; it got referenced as many
+ times as appropriate for the instances list.
+
2000-12-06 Federico Mena Quintero <federico@helixcode.com>
* gui/event-editor.c (file_delete_cb): Confirm before deleting the
diff --git a/calendar/cal-client/cal-client.c b/calendar/cal-client/cal-client.c
index 99dd96710b..a75912275f 100644
--- a/calendar/cal-client/cal-client.c
+++ b/calendar/cal-client/cal-client.c
@@ -1126,6 +1126,7 @@ cal_client_generate_instances (CalClient *client, CalObjType type,
comp = l->data;
cal_recur_generate_instances (comp, start, end, add_instance, &instances);
+ gtk_object_unref (GTK_OBJECT (comp));
}
g_list_free (objects);