telepathy-glib: future-account: lose our ref to the account manager

Jonny Lamb jonny at kemper.freedesktop.org
Thu May 10 07:41:20 PDT 2012


Module: telepathy-glib
Branch: master
Commit: 7023cc0e002720b25f91079fd09ac01beed48e50
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=7023cc0e002720b25f91079fd09ac01beed48e50

Author: Jonny Lamb <jonny.lamb at collabora.co.uk>
Date:   Thu May  3 15:01:38 2012 +0100

future-account: lose our ref to the account manager

Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>

---

 telepathy-glib/future-account.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/telepathy-glib/future-account.c b/telepathy-glib/future-account.c
index 1e3b1f3..42ae584 100644
--- a/telepathy-glib/future-account.c
+++ b/telepathy-glib/future-account.c
@@ -327,6 +327,8 @@ tp_future_account_dispose (GObject *object)
   TpFutureAccount *self = TP_FUTURE_ACCOUNT (object);
   TpFutureAccountPrivate *priv = self->priv;
 
+  g_clear_object (&priv->account_manager);
+
   tp_clear_pointer (&priv->parameters, g_hash_table_unref);
   tp_clear_pointer (&priv->properties, g_hash_table_unref);
 



More information about the telepathy-commits mailing list