aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-06-20 22:36:16 +0800
committerDan Winship <danw@src.gnome.org>2003-06-20 22:36:16 +0800
commit1c18cd11c17d3e3e2f91bb58f68eafc20f16e306 (patch)
treee309fca3ddf2652cb1a2f02d252f99580ae02974
parent592995eeed2daee522f0fb52d7b64c7ce715c3e1 (diff)
downloadgsoc2013-evolution-1c18cd11c17d3e3e2f91bb58f68eafc20f16e306.tar.gz
gsoc2013-evolution-1c18cd11c17d3e3e2f91bb58f68eafc20f16e306.tar.zst
gsoc2013-evolution-1c18cd11c17d3e3e2f91bb58f68eafc20f16e306.zip
don't leak the CalBackendPrivate.
* pcs/cal-backend.c (cal_backend_finalize): don't leak the CalBackendPrivate. svn path=/trunk/; revision=21496
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/pcs/cal-backend.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 7cf8916df0..8c1c07ac80 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2003-06-19 Dan Winship <danw@ximian.com>
+
+ * pcs/cal-backend.c (cal_backend_finalize): don't leak the
+ CalBackendPrivate.
+
2003-06-18 Dan Winship <danw@ximian.com>
* gui/calendar-config.c (calendar_config_get_hpane_pos)
diff --git a/calendar/pcs/cal-backend.c b/calendar/pcs/cal-backend.c
index f493302136..1d6330346c 100644
--- a/calendar/pcs/cal-backend.c
+++ b/calendar/pcs/cal-backend.c
@@ -251,6 +251,8 @@ cal_backend_finalize (GObject *object)
if (priv->category_idle_id)
g_source_remove (priv->category_idle_id);
+ g_free (priv);
+
G_OBJECT_CLASS (parent_class)->finalize (object);
}