telepathy-glib: TpConnection: self->priv->self_contact is leaked

Xavier Claessens xclaesse at kemper.freedesktop.org
Wed Apr 3 02:29:22 PDT 2013


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

Author: Xavier Claessens <xavier.claessens at collabora.co.uk>
Date:   Fri Mar 29 18:16:39 2013 +0100

TpConnection: self->priv->self_contact is leaked

---

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

diff --git a/telepathy-glib/connection.c b/telepathy-glib/connection.c
index 4a98daf..d111d09 100644
--- a/telepathy-glib/connection.c
+++ b/telepathy-glib/connection.c
@@ -1631,6 +1631,7 @@ tp_connection_dispose (GObject *object)
     }
 
   tp_clear_pointer (&self->priv->blocked_contacts, g_ptr_array_unref);
+  g_clear_object (&self->priv->self_contact);
 
   ((GObjectClass *) tp_connection_parent_class)->dispose (object);
 }



More information about the telepathy-commits mailing list