summaryrefslogtreecommitdiff
path: root/telepathy-glib/connection.c
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.co.uk>2013-03-29 18:16:39 +0100
committerXavier Claessens <xavier.claessens@collabora.co.uk>2013-04-03 11:28:27 +0200
commit86ac0ba97da73ed41f74c2d4b6708be1a1928404 (patch)
tree74c0203ef307d81dd1603745c9f105fb7abfc360 /telepathy-glib/connection.c
parent484abc61967d4b18b8aa97f9fe5b15d6e9475920 (diff)
downloadtelepathy-glib-86ac0ba97da73ed41f74c2d4b6708be1a1928404.tar.gz
TpConnection: self->priv->self_contact is leaked
Diffstat (limited to 'telepathy-glib/connection.c')
-rw-r--r--telepathy-glib/connection.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/telepathy-glib/connection.c b/telepathy-glib/connection.c
index 4a98dafb2..d111d09d8 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);
}