summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCosimo Alfarano <cosimo.alfarano@collabora.co.uk>2010-02-12 19:45:59 +0000
committerCosimo Alfarano <cosimo.alfarano@collabora.co.uk>2010-02-12 19:45:59 +0000
commit74110ddfb6582a302b21c72ec7d2497a2cdf5e5d (patch)
tree7de874b214bfd6678685f14877680a32e14d952e
parentbbf8a2177acaee3b25044d9dfee2b920da8e715e (diff)
finalize/dipose fixes
-rw-r--r--telepathy-logger/log-entry-text.c4
-rw-r--r--telepathy-logger/log-manager.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/telepathy-logger/log-entry-text.c b/telepathy-logger/log-entry-text.c
index 16cc3cf43..f0f265094 100644
--- a/telepathy-logger/log-entry-text.c
+++ b/telepathy-logger/log-entry-text.c
@@ -58,7 +58,7 @@ tpl_log_entry_text_dispose (GObject * obj)
tpl_object_unref_if_not_null (priv->tpl_text);
priv->tpl_text = NULL;
- G_OBJECT_CLASS (tpl_log_entry_text_parent_class)->finalize (obj);
+ G_OBJECT_CLASS (tpl_log_entry_text_parent_class)->dispose (obj);
}
@@ -71,7 +71,7 @@ tpl_log_entry_text_finalize (GObject * obj)
g_free (priv->message);
priv->message = NULL;
- G_OBJECT_CLASS (tpl_log_entry_text_parent_class)->dispose (obj);
+ G_OBJECT_CLASS (tpl_log_entry_text_parent_class)->finalize (obj);
}
diff --git a/telepathy-logger/log-manager.c b/telepathy-logger/log-manager.c
index e6782af01..f25a32913 100644
--- a/telepathy-logger/log-manager.c
+++ b/telepathy-logger/log-manager.c
@@ -89,6 +89,8 @@ log_manager_finalize (GObject *object)
g_list_foreach (priv->stores, (GFunc) g_object_unref, NULL);
g_list_free (priv->stores);
+
+ G_OBJECT_CLASS (tpl_log_manager_parent_class)->finalize (object);
}