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/gnome-cal.c | 1 + 1 file changed, 1 insertion(+) (limited to 'calendar/gui/gnome-cal.c') diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index 9bc7dbc951..d56bb24e2c 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -1130,6 +1130,7 @@ gnome_calendar_destroy (GtkObject *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; /* Save the TaskPad layout. */ -- cgit v1.2.3