aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gnome-cal.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2003-12-04 01:21:50 +0800
committerJP Rosevear <jpr@src.gnome.org>2003-12-04 01:21:50 +0800
commit313275af7dd939c72e42e38fe4b75f1daf903f55 (patch)
treeffdc9fbc33ede599d4fd7774c50be1a64a415db9 /calendar/gui/gnome-cal.c
parentba62cfbfdb2a53f06a496f764e95585a1fe4a641 (diff)
downloadgsoc2013-evolution-313275af7dd939c72e42e38fe4b75f1daf903f55.tar
gsoc2013-evolution-313275af7dd939c72e42e38fe4b75f1daf903f55.tar.gz
gsoc2013-evolution-313275af7dd939c72e42e38fe4b75f1daf903f55.tar.bz2
gsoc2013-evolution-313275af7dd939c72e42e38fe4b75f1daf903f55.tar.lz
gsoc2013-evolution-313275af7dd939c72e42e38fe4b75f1daf903f55.tar.xz
gsoc2013-evolution-313275af7dd939c72e42e38fe4b75f1daf903f55.tar.zst
gsoc2013-evolution-313275af7dd939c72e42e38fe4b75f1daf903f55.zip
free the notification list
2003-12-03 JP Rosevear <jpr@ximian.com> * 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
Diffstat (limited to 'calendar/gui/gnome-cal.c')
-rw-r--r--calendar/gui/gnome-cal.c1
1 files changed, 1 insertions, 0 deletions
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. */