From dbd0b894c29ae2903b97dab4ee920badea62f074 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Thu, 7 Dec 2000 16:16:11 +0000 Subject: Unref the component from the objects list; it got referenced as many times 2000-12-07 Federico Mena Quintero * 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. svn path=/trunk/; revision=6836 --- calendar/ChangeLog | 6 ++++++ calendar/cal-client/cal-client.c | 1 + 2 files changed, 7 insertions(+) (limited to 'calendar') 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 + + * 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 * 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); -- cgit v1.2.3