From 313275af7dd939c72e42e38fe4b75f1daf903f55 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Wed, 3 Dec 2003 17:21:50 +0000 Subject: free the notification list 2003-12-03 JP Rosevear * gui/gnome-cal.c (gnome_calendar_destroy): free the notification list * gui/tasks-component.c (impl_dispose): ditto * gui/calendar-component.c (impl_dispose): ditto svn path=/trunk/; revision=23610 --- calendar/gui/tasks-component.c | 1 + 1 file changed, 1 insertion(+) (limited to 'calendar/gui/tasks-component.c') diff --git a/calendar/gui/tasks-component.c b/calendar/gui/tasks-component.c index d6c579984e..db7864bdd7 100644 --- a/calendar/gui/tasks-component.c +++ b/calendar/gui/tasks-component.c @@ -458,6 +458,7 @@ impl_dispose (GObject *object) for (l = priv->notifications; l; l = l->next) calendar_config_remove_notification (GPOINTER_TO_UINT (l->data)); + g_list_free (priv->notifications); priv->notifications = NULL; (* G_OBJECT_CLASS (parent_class)->dispose) (object); -- cgit v1.2.3