diff options
author | JP Rosevear <jpr@ximian.com> | 2003-12-04 01:21:50 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2003-12-04 01:21:50 +0800 |
commit | 313275af7dd939c72e42e38fe4b75f1daf903f55 (patch) | |
tree | ffdc9fbc33ede599d4fd7774c50be1a64a415db9 /calendar/gui/calendar-component.c | |
parent | ba62cfbfdb2a53f06a496f764e95585a1fe4a641 (diff) | |
download | gsoc2013-evolution-313275af7dd939c72e42e38fe4b75f1daf903f55.tar.gz 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/calendar-component.c')
-rw-r--r-- | calendar/gui/calendar-component.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c index 593795cb91..455ede19ba 100644 --- a/calendar/gui/calendar-component.c +++ b/calendar/gui/calendar-component.c @@ -487,7 +487,8 @@ impl_dispose (GObject *object) } for (l = priv->notifications; l; l = l->next) - calendar_config_remove_notification (GPOINTER_TO_UINT (l->data)); + calendar_config_remove_notification (GPOINTER_TO_UINT (l->data)); + g_list_free (priv->notifications); priv->notifications = NULL; if (priv->activity_handler != NULL) { |